Skip to main content
POST
Create a flow from a template, off

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

template_id
string
required

The template's id, from GET /v1/automations/templates

Body

application/json
name
string
required

The new flow's name; one of your flows already has it: 409

Required string length: 1 - 200
folder
string | null

The Agent Studio folder to put it in, by name (as GET /v1/automations/flows' folder filter); default: the editor's default folder

Required string length: 1 - 255

Response

201 - application/json

Successful Response

editor_url
string
required

The flow in Agent Studio

enabled
boolean
required
flow_id
string
required
name
string
required
trigger
string
required

The audience in words

version
integer
required
nodes
Nodes · object

step id -> node id in the editor