Create Automation From Template
automation_create_from_templateCopies a catalog template into the app, as Use this template does in
the dashboard. Requires template_key, a template key from
automations_catalog_get. Creates an inactive automation with the
template's graph and, for each Send Email step, a new inactive email
with Meridian's starter copy (subject, preview text and body) attached to
that step. The agent supplies no body, and status, graph and
design are refused. Each call makes a new copy: two calls make two
copies. Returns the automation (with its graph, without any email body)
and its emails, each with the node_id of its step.
Activate the emails, then the automation, in the Meridian dashboard.
Left to choose: a segment (crm_segments_list, then automation_update),
a custom field (custom_fields_list), a Slack channel and a usage view
(dashboard). Takes the app_id returned by apps_list.
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": {
"app_id": "<app_id>",
"template_key": "<template_key>"
},
"name": "automation_create_from_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app this call works on: its `app_id` uuid from `apps_list`. | |
| template_key | Yes | Which starter template to copy, by its `key` in `automations_catalog_get`. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |