# Sequences to SQL and Closed/Won Reporting

**URL:** <https://community.hubspot.com/t/sequences-to-sql-and-closed-won-reporting/49419>\
**Category:** Dashboards & Reporting\
**Tags:** dashboards\
**Created:** [January 7, 2022, 5:26pm UTC](https://community.hubspot.com/t/sequences-to-sql-and-closed-won-reporting/49419 "2022-01-07T17:26:44Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [January 7, 2022, 5:51pm UTC](https://community.hubspot.com/t/sequences-to-sql-and-closed-won-reporting/49419/2 "2022-01-07T17:51:55Z")

</div>

Hi @LStrabelli,

There isn’t an out-of-the-box report for this, so the custom report builder is required here (available in Professional and Enterprise licenses). I wasn’t able to get this to work with Sequences as a data source but luckily, sequence information is also available on the contact record.

Disclaimer before we dive in: We will not be able to say how many sequences generated SQLs or revenue, we will be able to show how many SQLs or how much revenue was potentially influenced by a sequence.

We’ll create a report for each sequence, one by one. (I’m not aware of a better solution.) Here’s how you’d approach this.

Navigate to _Menu_ \> _Reports_ \> _Reports_ \> _Create custom report_ \> _Custom report builder_.

Select _Contacts_ as primary data source and _Companies_.

Next, find out the sequence ID. The sequence ID is the number that you see when you navigate to _Menu_ \> _Automation_ \> _Sequences_ \> _Manage_ and click on a sequence. Your URL should look like this: [https://app.hubspot.com/sequences/PORTAL\_ID/sequence/SEQUENCE\_ID/edit](https://app.hubspot.com/sequences/PORTAL_ID/sequence/SEQUENCE_ID/edit). Copy the sequence ID.

Back in the _Filters_ tab of your report, set up a report filter for the contact property _Last sequence enrolled_: “Last sequence enrolled has ever been equal to [sequence ID]”.

You’re report is now pre-filtered by all contacts who engaged with that sequence and you can go ahead and display the number of SQLs (e.g. _Became a sales qualified lead date_ on the X-axis and _Count of Contacts_ on the Y-axis with chart type vertical bar) or the revenue generated (e.g. _Total revenue_ with chart type KPI).

You can of course also use the deal object as data source and display the _Closed deal amount_ instead of the company _Total revenue_.

Let me know if you need further assistance with this.

Cheers!

---

_[View the full topic](https://community.hubspot.com/t/sequences-to-sql-and-closed-won-reporting/49419)._
