SFMC Data Views with Generative AI | QAiry
Salesforce Marketing Cloud • Data Views

SFMC Data Views
with Generative AI

Query SFMC System Data Views using natural language. QAiry converts your question into the right SQL, so marketers and teams can access reliable performance and deliverability insights — fast, and without guesswork.

Natural language → SQL Tracking & deliverability insights Monitoring your environment Free
Overview

What are SFMC Data Views?

Data Views are system tables that expose operational and tracking data — subscriber status, sends, opens, clicks, bounces, unsubscribes, complaints, and more. Essential for performance analytics and deliverability monitoring, but they typically require SQL to access.

Operational truth

Use system-level data — jobs, subscribers, tracking events — as a reliable source for measurement across your SFMC environment.

Enterprise reporting

Standardise KPIs across brands, BUs, and campaigns with consistent definitions from system-level Data Views.

Faster decisions

Identify issues — bounces, complaints, low engagement — early and act with confidence using the right data immediately.

How QAiry works

From question to query — without SQL friction

QAiry translates natural language into SFMC SQL, selecting the right Data Views, join keys, and filters so the output is actionable in Automation Studio.

1) Ask in plain language

Describe the insight you need — campaign health, engagement, deliverability, or journey performance. 80+ languages supported.

Which domains had the highest hard bounce rate in the last 7 days? Break down by domain and total bounces.

2) QAiry generates best-practice SQL

QAiry outputs SQL aligned with SFMC Data View patterns — JobID / SubscriberKey joins, unique open/click logic, correct date filtering.

Give me a 7-day summary by JobID: sends, unique opens, unique clicks, bounces, unsubscribes.

3) Use the result immediately

The query runs in Automation Studio and creates a Data Extension in the QAiry folder. You can preview the results directly in the QAiry dashboards, then schedule the Data Extension to be refreshed daily.

Core data views

Common Data Views and example prompts

Frequently used Data Views and practical QAiry prompts you can run to answer real operational questions right now.

_Subscribers

Subscriber identity and status — active, held, unsubscribed — plus operational counters.

List active subscribers with email address and status.

_Job

Send job metadata — subject, send times, send classification. Useful for reporting rollups.

Show the top 10 sends by total volume last month (with email subject).

_Sent

Send events — the baseline for performance calculations and engagement joins across all Data Views.

How many emails were sent to Gmail vs Outlook in the last 30 days?

_Open

Open events — unique and total. Use unique opens for KPI consistency across campaigns and teams.

Which email had the highest unique open rate yesterday?

_Click

Click events and link-level performance. Great for content and CTA optimisation across sends.

Top 5 most-clicked links in the last 7 days by total unique clicks.

_Bounce / _Complaint / _Unsubscribe

Deliverability and list health signals — critical for sender reputation management.

Which campaigns had unsubscribe rate above 0.3% last month?
Advanced use cases

High-impact analytics teams run weekly

Standardise deliverability and performance monitoring across teams with repeatable, trusted questions.

Engaged segments

Identify subscribers who opened or clicked recently for retargeting or priority messaging.

Find subscribers who clicked at least once in the last 14 days.

Re-engagement audiences

Build cohorts with no opens or clicks over a defined period to run effective win-back strategies.

Subscribers with no opens in the last 90 days (exclude recent new joiners).

Deliverability monitoring

Spot domains with elevated hard bounces or complaint rates and act quickly to protect sender reputation.

Domains with hard bounce rate above 1% in the last 7 days.
Reporting

Join multiple Data Views automatically

QAiry builds multi-view reporting in one step — combining sends, unique opens, unique clicks, and bounces by JobID. This is the foundation for consistent campaign health monitoring and weekly KPI rollups.

Example prompt

Generate a 7-day summary by JobID: Total Sends, Unique Opens, Unique Clicks, Unique Bounces, plus Open Rate, CTR, Bounce Rate.

Best practice: use _Sent as the baseline and compute uniques from IsUnique = 1.

Generated SQL

View example SQL
SELECT
  s.JobID,
  MIN(s.EventDate)   AS FirstSendDate,
  COUNT(1)           AS TotalSends,

  COUNT(DISTINCT CASE WHEN o.IsUnique = 1 THEN o.SubscriberKey END) AS UniqueOpens,
  COUNT(DISTINCT CASE WHEN c.IsUnique = 1 THEN c.SubscriberKey END) AS UniqueClicks,
  COUNT(DISTINCT CASE WHEN b.IsUnique = 1 THEN b.SubscriberKey END) AS UniqueBounces,

  CAST(COUNT(DISTINCT CASE WHEN o.IsUnique = 1 THEN o.SubscriberKey END) AS FLOAT)
    / NULLIF(COUNT(1), 0) AS OpenRate,

  CAST(COUNT(DISTINCT CASE WHEN c.IsUnique = 1 THEN c.SubscriberKey END) AS FLOAT)
    / NULLIF(COUNT(1), 0) AS ClickThroughRate,

  CAST(COUNT(DISTINCT CASE WHEN b.IsUnique = 1 THEN b.SubscriberKey END) AS FLOAT)
    / NULLIF(COUNT(1), 0) AS BounceRate

FROM _Sent s
LEFT JOIN _Open   o ON s.JobID = o.JobID AND s.SubscriberKey = o.SubscriberKey
LEFT JOIN _Click  c ON s.JobID = c.JobID AND s.SubscriberKey = c.SubscriberKey
LEFT JOIN _Bounce b ON s.JobID = b.JobID AND s.SubscriberKey = b.SubscriberKey
WHERE s.EventDate >= DATEADD(day, -7, GETDATE())
GROUP BY s.JobID;

Note: Tracking Data Views have retention limits; plan rollups accordingly.

Output Data Extension (example)

Sample rows from the target DE after the Query Activity runs.

Target DE Primary Key: JobID
JobID FirstSendDate TotalSends UniqueOpens UniqueClicks UniqueBounces OpenRate CTR BounceRate
8210452026-02-03 09:12125,40049,87010,9421,50639.77%8.72%1.20%
8210462026-02-04 08:5598,12034,6407,1052,06035.30%7.24%2.10%
8211022026-02-06 10:05210,88092,34017,9901,26543.79%8.53%0.60%
8211402026-02-08 07:4075,60021,1403,2101,96527.96%4.25%2.60%

Start querying your SFMC Data Views today

QAiry is free to install. Connect once, ask in plain language, and get the SFMC insights your team needs — without writing a single line of SQL.