What matters here
- Do not log every automated send. Summarize the sequence and log the replies, opens on high intent, and anything a human did.
- Suppression is the reason to build this. An open opportunity, an active support escalation or a legal hold must stop a sequence.
- Define engagement once. If the CRM and the engagement tool disagree about what engaged means, every report built on either is wrong.
- Drive enrollment from CRM state, not an exported list. A list is stale the moment it is downloaded.
- Never let a sequence reach somebody who unsubscribed, regardless of which system holds the record.
Who this is for
You run revenue operations or sales operations. Reps work in the engagement tool, managers report from the CRM, and the two disagree about what happened and to whom.
How it works in practice
What happens between a rep enrolling somebody and the CRM reflecting it usefully.
- 1
Enrollment is driven from CRM state
A saved view, not an exported list, so somebody who converted this morning is not sequenced this afternoon.
- 2
Suppression runs before every send
Open opportunity, active escalation, legal hold, unsubscribed, already in another sequence. Checked at send time instead of at enrollment.
- 3
Activity is logged at a readable level
The sequence as one record, plus replies, meetings and anything a human did individually.
- 4
Engagement is computed once
One definition, applied in one place, written to both systems rather than calculated twice with different answers.
- 5
A reply pulls the person out of automation
Immediately, and notifies the owner. Nothing is worse than a sequence continuing after somebody answered.
- 6
The CRM stays the reporting surface
Managers report from one place, and it agrees with what the reps see.
What the sync is made of
Two tools with overlapping jobs. Four parts, and the second one prevents the incident.
Readable activity logging
The sequence summarized, the replies and meetings logged individually. A timeline of every automated send is a timeline nobody reads.
Suppression rules
Checked at send time, not at enrollment. Open opportunities, escalations, legal holds and unsubscribes all stop a sequence.
One engagement definition
Computed once and written to both, because two definitions produce two dashboards and an argument about which is right.
Enrollment from CRM state
A live view rather than an exported list, so state changes between download and send cannot cause the wrong email.
The Tray Headless prompts
Paste these into Claude Code or Codex with the Tray Headless plugin installed. Each stage runs on its own. The systems named in them are the worked example rather than a requirement, and every prompt says so.
Once per project, run /tray-workflows:set-workspace to pick the workspace
these build in. Point it at a sandbox first.
Set up and find where suppression state actually lives
The reasons not to send are scattered across several systems.
- build-workflow
Use build-workflow. The systems in play are Salesforce and Outreach, or whatever we run in those seats.
I need the Outreach prospect and sequence model including how enrollment and finishing work, and from Salesforce the Lead, Contact, Opportunity and Case objects plus any opt-out field.
Specifically map where each of these lives: an open opportunity, an active support escalation, a legal or compliance hold, and an unsubscribe. Those four are the reasons not to send, and they are in different places.
Suppress at send time, not at enrollment
Because state changes between enrolling somebody and emailing them.
- build-workflow
Use build-workflow. Before every send, not once at enrollment, check:
An open opportunity on the account owned by somebody else
An active support escalation above a severity
A legal or compliance hold on the account
An unsubscribe, in either system, treated as authoritative
The person already active in another sequence
The account in a do-not-contact list
Any hit pauses the sequence for that person and tells the enroller why.
Do this at send time. A prospect enrolled on Monday whose account opened an escalation on Tuesday must not receive Wednesday’s email, and an enrollment-time check will not catch that.
Log at a level somebody will read
A timeline of four thousand automated emails is a timeline nobody scrolls.
Log to the CRM selectively:
The sequence enrollment as one activity record, with the sequence name
and the enroller, updated as it progresses rather than appended to
Every reply, logged individually with its content
Every meeting booked
Calls and manually sent one-to-one emails
Sequence completion or exit, with the reason
Do not log every automated send, every open and every click as separate activities. Roll those into counts on the sequence record.
Then update Last Activity Date from meaningful interactions only. If an automated open refreshes it, every hygiene rule that depends on activity becomes meaningless, and pipeline hygiene is usually built on exactly that field.
Define engagement once
Two definitions produce two dashboards and a standing argument.
- tray-gotchas
Use tray-gotchas, then compute engagement in one place and write the result to both systems.
A workable definition: a reply, a meeting booked, or a click on a high-intent link. Opens do not count, because open tracking is now unreliable enough that including it makes the metric noise.
Write an engagement score and a last-engaged timestamp to both. Never let each system compute its own, because they will diverge within a week and every report built on either becomes indefensible.
Also pull somebody out of automation the moment they reply, and notify the owner within minutes. A sequence that continues after a human answered is the fastest way to lose a deal you had.
Enroll from live CRM state
An exported list is stale the moment it is downloaded.
Drive enrollment from a saved CRM view evaluated at run time, not from a list somebody exported.
Re-evaluate membership before each send. Somebody who converted, became a customer or opened an opportunity since enrollment leaves the sequence automatically instead of continuing to receive prospecting email.
Then report weekly: sends suppressed and by which rule, replies and meetings by sequence, sequences continuing after a reply, which should be zero, and any send that reached a suppressed account, which should also be zero.
Those two zeros are the health of this integration. Everything else is volume.
Validate, then hand the rules over
Because suppression rules are commercial policy.
Run the per-step schema checks and the whole-workflow audit before this touches production.
Then open the same workflow in Tray Build so sales operations can add a suppression rule or change the engagement definition in the visual canvas. Those rules change after every incident, and the change should take an afternoon rather than a sprint.
What it connects to
The engagement tool sends, the CRM decides who may be sent to.
-
Outreach Read sequence state, replies and meetings. Write enrollment, and pause a sequence when suppression fires. Reads and writes -
Salesforce Read the suppression state and the enrollment view. Write summarized activity and the shared engagement score. Reads and writes
-
Zendesk Read active escalations, because an automated nudge during a severity one is the incident people remember. Reads -
Gong Read call outcomes, so a conversation that happened outside the engagement tool still counts as engagement. Reads -
Slack Tell the owner within minutes of a reply, and tell the enroller when suppression stopped a send. Writes
-
Snowflake Land suppression and engagement history, so sequence effectiveness is measurable by segment. Writes
Named systems are the ones most teams run, not the only ones that work. Each is an authentication in your Tray workspace, referenced by name, so the workflow never holds a credential.
Same build, other stacks
The design does not change if you run something else in one of these seats. The same prompts build it against Microsoft Dynamics 365, Google BigQuery, Microsoft Teams, Jira, HubSpot or Databricks.
Connections in this build
Field mapping, templates and common problems for each pairing: Outreach + Salesforce, Salesforce + Zendesk, Gong.io + Outreach and Gong.io + Salesforce.
Running it in production
This sends email to customers and prospects on the company's behalf. The suppression path is a control.
- 1
It runs on the platform, not on somebody's machine
Send-time suppression checks run against every send at whatever volume the team generates, on the same engine, with a record of each decision.
- 2
Every suppression is recorded
Which rule fired, for whom, and when. When somebody asks why a prospect was not contacted, that is the answer.
- 3
No credential ever lands in the workflow itself
The engagement tool credential can send email as your company. It lives in your workspace, scoped and revocable, never beside the logic.
- 4
Sales operations own the rules
Suppression rules and the engagement definition open in Tray Build, changed by the team that owns outbound policy.
- 5
Two numbers should always be zero
Sequences continuing after a reply, and sends that reached a suppressed account. Alert on both instead of reporting them monthly.
Further reading
Background on the same subject, for the case rather than the build.