Skip to content

Inbox & Email

Read and act on LinkedIn conversations, refresh the inbox, and send email from connected Google accounts.

These parameters mean the same thing on every tool below that takes them.

  • workspaceId: Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too.

Full name: campaignstack_get_conversations

inbox:read Read-only

Read inbox conversation summaries, unread count, or full threads when include.messages is true. Always returns a stable items/pagination envelope. A conversation with hasSuspiciousInbound true holds a message that offers something of value and asks the reader to act on it (the shape of a fake recruiter or investor): say so to the person before you book, open a link or reply on their behalf. include.scheduledMessages lists this thread’s pending campaignstack_send_message sendAt rows. A workflow draft that has not gone out has delivered false and deliveredAt null; its nextSendAt is when it will send (null while it waits for a review).

NameTypeRequiredDefaultDescription
workspaceIdstringNo—See common parameters.
idsobject[]No—
unreadOnlybooleanNo—
identityFilterstring[]No—
searchstringNo—(min length: 2, max length: 200)
includeobjectNo{}
include.messagesbooleanNofalse
include.scheduledMessagesbooleanNofalse
limitintegerNo20(min: 1, max: 50)
cursorstringNo—

Full name: campaignstack_refresh_inbox

inbox:write Acts outside CampaignStack Needs confirmation

Ask CampaignStack to poll its connected LinkedIn accounts for new messages now. Call this when the user wants the inbox brought up to date before you read it. Respects a 20-second freshness dedup window per account. Returns { refreshed, skipped, errors }. It does not fetch one thread’s older history: use campaignstack_get_conversations with ids and include.messages for that.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—See common parameters.

Full name: campaignstack_edit_conversations

inbox:write

Batch small inbox state changes: mark conversations read, or cancel/edit a pending campaignstack_send_message sendAt row (scheduledMessages, id from campaignstack_get_conversations include.scheduledMessages). Sending remains campaignstack_send_message.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—See common parameters.
conversationsobject[]No—
scheduledMessagesoperation[]No—One or more operations, see below.

scheduledMessages variants (scheduledMessages[].op)

Section titled “scheduledMessages variants (scheduledMessages[].op)”
NameTypeRequiredDefaultDescription
idstringYes—(min length: 1)
NameTypeRequiredDefaultDescription
idstringYes—(min length: 1)
textstringNo—(min length: 1)
sendAtstringNo—

Full name: campaignstack_send_email

google_integrations:write Destructive Acts outside CampaignStack Needs confirmation

Send one provider-aware email. Gmail is the first provider. Requires confirm=true after reading back recipient and wording. This reaches a real person. Before calling it, tell the user exactly who it goes to and read the wording back to them, and wait for an explicit yes. It goes out as soon as this call succeeds: there is no draft state and nothing to recall. One person per call. There is no bulk form, and calling this in a loop over a list is not the supported way to reach a list: add the leads with campaignstack_edit_lead_list and run a workflow over it with campaignstack_trigger_workflow, which paces the sends and applies the review step the workspace configured. Costs 0 credits.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—See common parameters.
providerstringNo"gmail"
googleAccountIdstringNo—The account to use (Google account ID). Omit it to default to the workspace’s only Google account that is ready; with several, the error lists them (id and name) so you can ask the person which one.
tostringYes—
subjectstringYes—(min length: 1)
bodystringYes—(min length: 1)
htmlBodystringNo—
attachmentsobject[]No—
confirmbooleanYes—Required confirmation that the email wording and recipient are approved.

Full name: campaignstack_send_message

inbox:write Acts outside CampaignStack Needs confirmation

Ask CampaignStack to send one message into a LinkedIn conversation the owner’s connected account is already part of, optionally with attachments given as public URLs. Takes a conversationRef { platform, id } from campaignstack_get_conversations. Read the thread with campaignstack_get_conversations using ids and include.messages first. If the last message is the owner’s and the other person has not answered since, do not send: say so, and send only if the user confirms they want to follow up again. This reaches a real person. Before calling it, tell the user exactly who it goes to and read the wording back to them, and wait for an explicit yes. The send is dispatched asynchronously and the response carries a messageEntityUrn; campaignstack_get_conversations reports delivery. Pass sendAt to hold the message and send it later instead of now; it is cancelled if the other person replies first, so read the wording and the time back and wait for a yes. campaignstack_get_conversations with include.scheduledMessages lists pending ones; campaignstack_edit_conversations cancels or edits one. One person per call. There is no bulk form, and calling this in a loop over a list is not the supported way to reach a list: add the leads with campaignstack_edit_lead_list and run a workflow over it with campaignstack_trigger_workflow, which paces the sends and applies the review step the workspace configured. Business hours do not apply. A message past the account’s daily message limit is still sent, and the result carries a warning to pass on to the user. A paused account, or messaging LinkedIn has challenged, refuses the send.

NameTypeRequiredDefaultDescription
workspaceIdstringNo—See common parameters.
conversationRefobjectYes—
conversationRef.platformlinkedinYes—
conversationRef.idstringYes—(min length: 1)
textstringYes—(min length: 1)
attachmentsobject[]No—Up to 5 files to attach (images or documents). Downloaded server-side and validated against the LinkedIn attachment policy.
sendAtstringNo—ISO 8601 with a UTC offset. Omit to send now. With it, the message is held and sent at that time instead (1 minute to 180 days out) - cancelled automatically if the other person replies first. Read the wording and the time back to the user and wait for a yes before calling this with sendAt set.
idempotencyKeystringNo—Optional. A key you choose for this one send. Calling again with the same key returns the send already made instead of sending twice (use it when a call timed out); a key reused for a different send is refused. Without a key, the same words to the same person within a few minutes are refused as a repeat. (min length: 1, max length: 128)