/clay:sequences-eventsfrom clay
Explains Clay's Campaign events table: event types (reply, out-of-office, bounce, unsubscribe), reply rate calculation, rep routing, and automations built on sequence events.
Ships in clay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before using this skill, read the clay entry skill if you haven’t already this session, and follow its access guidance.
Use this to explain, filter, or build on sequence activity: the Campaign events table, a column, workflow, or automation that reads it, or a question such as "why did this lead stop getting emails?". Answer from this skill, not from general email-sequencing knowledge: Clay configures its email provider in ways that differ from common defaults, especially for out-of-office replies.
Each workspace has one shared Campaign events table (named Campaign webhook events in older workspaces). Every
sequence writes to it, and each sequence also gets a view named <sequence name> events that is filtered to that
sequence. The table keeps only the most recent 10,000 events. Older rows move to the table's read-only archive,
which the user opens with the View archive button at the bottom right of the table. The table and its per-sequence
views therefore show only recent events, and columns, exports, and automations on the table never see archived rows.
For an older sequence's full history, point the user to the archive or the sequence's Activity tab, and use clay sequences analytics for totals.
Events usually appear within a few minutes of happening. Replies from a mailbox the user connected themselves (rather than one bought in Clay) can be delayed or missing while that mailbox is disconnected.
Each row is one event. The raw payload is in the source column. Managed formula columns extract the common fields:
| Column | Payload path | Notes |
|---|---|---|
Campaign ID | smartlead.campaign_id | The email provider's campaign id, not the Clay sequence id |
Event type | event_type | One of the types below |
Lead ID | smartlead.lead_id | The email provider's lead id |
Audience ID | lead.audience_entity_id | Links to the Audiences contact; Audience record looks the contact up |
Lead email address | lead.email, else recipient.email | Always the enrolled lead |
Last reply content | reply.html | Only EMAIL_REPLY |
Reply category | reply.category_name, else category.name | EMAIL_REPLY and LEAD_CATEGORY_UPDATED |
Sender email address | sender.email | Direction depends on the event type; see EMAIL_REPLY |
The default view shows only EMAIL_SENT, EMAIL_REPLY, EMAIL_OPEN, EMAIL_LINK_CLICK, EMAIL_BOUNCE, and
CAMPAIGN_STATUS_CHANGED. Unsubscribes and category updates are still in the table. Remove the view filter or use
a different view to see them.
event_typeevent.descriptionevent.occurred_at: when the event happened at the provider (for example, the send, open, click, or reply time).
Use this field for time, not the row's creation time. It can be missing.campaign.name, campaign.statusclay_campaign_id: the Clay sequence id, when Clay could resolve it.smartlead.campaign_id, smartlead.lead_id, smartlead.lead_map_id: the email provider's ids.Every event type except CAMPAIGN_STATUS_CHANGED also has:
lead.email, lead.name, lead.audience_entity_id: the enrolled lead, using the address they were enrolled with.
Use lead.email to identify the lead.sender.email, recipient.email: the addresses as the email provider reported them.sent (all of these except LEAD_CATEGORY_UPDATED): the sequence email the event relates to (subject, html,
text, sequence_number, stats_id). sequence_number is the 1-based step in the sequence.EMAIL_SENTA sequence step was sent to the lead. sender.email is your sending mailbox, and recipient.email is the lead. After
the final step is sent, the lead counts as completed.
sent.subject and sent.html are the exact copy that went out. Copy edits on a live sequence apply only to leads
enrolled after the edit, so use this event to check what a particular lead received.
EMAIL_OPEN and EMAIL_LINK_CLICKThe lead opened the email (engagement.opened_at) or clicked a link (engagement.clicked_at,
engagement.clicked_links).
EMAIL_REPLYThe lead replied.
sender.email is usually your sending mailbox, not the lead. For about 98% of replies, the email provider
reports the reply with the sender and recipient the same way round as the original send: sender.email is the
rep's sending mailbox and recipient.email is the lead. In the remaining cases they are swapped. Use lead.email
for the lead. To find the sending mailbox reliably, take whichever of the two addresses is not the lead.reply.html and reply.text, with a shorter reply.preview_text. reply.cc_emails lists anyone
else on the reply.reply.category_id and reply.category_name hold the AI-assigned lead category, if there is one. category_name
is filled only for the standard categories (listed below). A reply that is not categorized yet may be categorized
later, which produces a LEAD_CATEGORY_UPDATED event.links.reply_url opens this reply in the Sequencer inbox. It is present only when the provider sent both lead ids.Get rep email looks up the rep assigned to the mailbox in sender.email and returns repEmail and
repFullName. It returns no data when no rep is assigned to that mailbox, or when sender.email is not one of
the workspace's mailboxes (the swapped case above).Forward email forwards the reply to that repEmail.Reply to lead email sends the body written in the Email reply: Body column as a reply in the lead's thread.
It does not run for replies categorized as Out Of Office, Wrong Person, Not Interested, or Do Not Contact.Add email to blocklist blocks the lead's address. Unlike the other three, it can run on every event type.OOO is a reply category (Out Of Office, id 6), not a separate event type. An OOO auto-reply comes in as an
EMAIL_REPLY with that category.
EMAIL_SENT. Do not tell the user to resume these leads by hand.Reply to lead email action does not run on OOO replies.EMAIL_BOUNCEThe email bounced. The bounce message is in bounce.html and bounce.text, with a shorter
bounce.reply_email_preview.
bounce.is_sender_originated_bounce separates the two kinds of bounce. false means the lead's address bounced:
the lead is marked bounced and gets no more emails. true means the receiving server rejected your sending side,
often because static copy was flagged as spam. The lead's address may still be good, and the lead is not marked
bounced. Suggest more copy variation (spintax, AI snippets, sender and lead variables) to reduce these.lead can be missing on a bounce. Use recipient.email (the Lead email address column already falls back to
it).LEAD_UNSUBSCRIBEDThe lead unsubscribed. They get no more emails, and the lead is marked unsubscribed.
This event comes from the unsubscribe link, which only HTML sequences with the link turned on include. A lead who
replies asking to stop produces an EMAIL_REPLY instead; use Add email to blocklist for those.
smartlead.lead_id is usually empty on this event, so match the lead by lead.email.sender and recipient can be missing.unsubscribe.client_unsubscribed_at maps each provider client id to the unsubscribe time.LEAD_CATEGORY_UPDATEDThe lead's category changed, either because the AI categorized a reply or because someone changed it by hand.
category.id, category.name, category.sentiment hold the new category. category.old_id and
category.old_name hold the previous one (null if there was none).lead_category_update.current_sequence is the step the lead was on. reply_body_html and preview_text hold
the reply that was categorized.EMAIL_REPLY.CAMPAIGN_STATUS_CHANGEDThe sequence's status changed: status_change.previous_status → status_change.current_status. The event has no
lead fields. It is sequence-level, so filter it out when counting lead activity.
MANUAL_STEP_REACHEDA manual (call, LinkedIn, or to-do) step is due: manual_step.current_sequence, manual_step.scheduled_at. This
type is reserved. Do not depend on it appearing. Completing a manual step can show up as an EMAIL_SENT with no
mailbox and no step number, so do not count those as real sends.
Reply category uses these standard categories:
| Category | Sentiment | Notes |
|---|---|---|
Interested | Positive | |
Meeting Request | Positive | |
Information Request | Positive | |
Out Of Office | Neutral | Does not stop the sequence; the lead auto-resumes |
Wrong Person | Neutral | Reply to lead email does not run |
Uncategorizable by Ai | Neutral | |
Not Interested | Negative | Reply to lead email does not run |
Do Not Contact | Negative | Reply to lead email does not run |
Sender Originated Bounce | Negative | The sending mailbox failed, not the lead |
Custom categories also appear, by name, on LEAD_CATEGORY_UPDATED. On EMAIL_REPLY, a custom category has a
category_id but no category_name.
Event type first. Columns that read type-specific fields are empty on other event types.Lead email address. Do not use Sender email address.Get rep email column. Do not use Sender email address on its own.Out Of Office category, and treat an empty category as a real reply.bounce.is_sender_originated_bounce is false before treating the lead's address
as bad.event_type, lead.email,
sent.stats_id, and event.occurred_at. For sequence totals, prefer clay sequences analytics.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
clay, campaign-events, sequence-events, email-sequencing, lead-tracking
npx claudepluginhub clay-run/agent-plugins --plugin clay39 skills in this plugin
/ad-syncsClay ad syncs — push an audience segment to ad platforms (LinkedIn, Meta, Google, Bing, Reddit, Vibe) as a custom audience. Use to create, edit, start, pause, or map the fields of an ad sync, or to check its status, match rate, or run history./audiencesClay Audiences — the workspace's own people, companies, and deals (contacts, leads, accounts, customers). Use for any request about their records when no surface is named, including counts, fill rates, lookups ("how many people have a phone?"), saved segments, and field definitions. Also deal and pipeline questions like largest opportunities, biggest pipeline items, recent wins, closed-won, deal stage, and ACV. Also Data hub enrichment configuration, audience assignments, and parity checks. Also the calls and meetings synced onto those records, such as Gong recordings, and which accounts discussed a topic on their calls./Other plugins' skills for the same job