Set the PDF a comment follow-up sends
set_sequence_downloadAttach a PDF to a social email sequence, from a public https link. {{download}} in that sequence's emails then becomes a link to it. A sequence sends its OWN PDF or no link at all — it does not inherit the account's — so this is the only way {{download}} resolves in a social follow-up. To REMOVE one, pass remove: true. A PDF that is in this chat (one you made, or one the person attached): pass it as files — no upload needed. Otherwise a public https link as source_url; a PDF only on their computer: start_file_upload with purpose "pdf", PUT it, and pass the url it returns.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"social_email_sequence_id": "<social_email_sequence_id>"
},
"name": "set_sequence_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | The PDF from this chat (one file). Use this OR source_url. | |
| label | No | The clickable text, e.g. "the checklist". Defaults to "Download". | |
| client | No | Client website slug (or id). Required for platform-scoped keys. | |
| remove | No | Remove the sequence's PDF. {{download}} then renders as nothing. | |
| source_url | No | Public https link to the PDF. Use this OR files; omit both only when removing. | |
| social_email_sequence_id | Yes | A social email sequence id from list_social_sequences. |