Use template in workflow step
spur_set_workflow_step_templateSet which saved template a workflow's send step uses (send_email ← email template, send_sms ← SMS template, send_direct_mail ← postcard/letter template). Get step_ids from spur_get_workflow. If the workflow is active, enrolled owners get the new template from their next send.
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": {
"workflow_id": "<workflow_id>",
"step_id": "<step_id>",
"template_id": "<template_id>"
},
"name": "spur_set_workflow_step_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required when editing a live workflow | |
| step_id | Yes | step_id from spur_get_workflow | |
| template_id | Yes | Template id (UUID from a Spur list/search tool) | |
| workflow_id | Yes | Workflow id (UUID from a Spur list/search tool) |