Campaigns

Preview a step message

What a campaign step would send to the lead of one of the campaign's enrollments, from the step's account, with subject, sender and attachments. Nothing is sent or saved. AI steps write the message fresh on every call, so check a few enrollments before going live. status unavailable gives the reason, such as a missing lead field. Step ids are the node ids from needleGetCampaign; enrollmentId comes from needleListCampaignLeads.

TOOLneedleGetMessagePreviewForStep

Input

campaignIdrequired

string · uuid

Campaign id

nodeIdrequired

string

Step id, the node id in the campaign graph

enrollmentIdrequired

string · uuid

An enrollment in this campaign; its lead is the one written to. List them with GET /campaigns/{campaignId}/leads.

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy