Skip to main content
POST
Save an automation as a template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
Required string length: 1 - 200
Pattern: .*\S.*
Example:

"Weekly pipeline digest"

category
string
required
Minimum string length: 1
Example:

"outreach"

description
string
Maximum string length: 1000
Example:

"Posts a summary of new opportunities to Slack every Monday."

long_description
string | null

Rich description shown in the template preview. Accepts a small HTML subset (headings, bold, italic, lists, links); anything else is stripped on write.

Maximum string length: 20000
Example:

"<h2>What it does</h2><p>Posts a summary to <strong>Slack</strong> every Monday.</p>"

visibility
enum<string>
Available options:
private,
public
Example:

"private"

workflow_id
string

Snapshot this workflow. Preferred over sending a flow.

Example:

"01956fbd-0eb1-72db-a565-82977a586084"

flow
object

Response

The requested WorkflowTemplate