Workflows
Event-driven automations with conditions, branches, waits, goals, an AI agent step and 30+ actions — build, activate, preview, run on demand, or trigger from any tool.
A workflow starts when its trigger happens to a record (or on a schedule), checks its conditions, then runs its actions one by one — waiting, branching, creating tasks and deals, sending emails and messages (email, LinkedIn, WhatsApp), calling webhooks. Activation validates every step (a send_email needs a template or content, a Slack step a webhook URL…) and answers 400 with what to fix.
AI agent step — { "type": "ai_agent", "config": { "instructions": "…", "choices": "interested, later, not_interested", "tools": ["add_tag", "create_task"], "model": "advanced" } }. Claude reads the record (contact, company, deal), what started the workflow, the last exchanges on every channel and your company brief; it may act with the tools listed (add_note, add_tag, remove_tag, adjust_score, create_task, update_contact, move_cycle_stage, notify — 5 actions max) and returns agent.answer (use {{agent.answer}} in the next emails, LinkedIn messages, notes…) and agent.decision (branch with if_else on the field agent.decision). Each run uses AI credits: 1 with model: "fast", 2 with "advanced"; out of credits, the step fails with a clear error.
LinkedIn — send_linkedin_invite sends a blank invitation or one with config.message (300 characters max). Acceptances are detected on their own (LinkedIn reports them within a few hours) and fire contact.linkedin_connected: invite → wait_for_event contact.linkedin_connected → if_else on wait.result = received → send_linkedin_message.
WhatsApp — send_whatsapp { "message": "…", "sender": "teammate@company.com", "new_chats": "no" } sends from that teammate’s own connected WhatsApp (blank sender: the contact’s owner). By default only to people already in a conversation with them (new_chats: "yes" starts new ones — keep those rare: WhatsApp restricts accounts that send too many first messages). Without a connected WhatsApp the step is skipped, not failed.
ERP orders — deals that follow their order in your ERP fire deal.ordered (order placed — often the proforma), deal.invoiced (invoice issued), deal.paid (the invoice paid in the ERP) and deal.order_closed (the order closed or cancelled with no invoice from it). Their payload carries order, order_status, invoices, document_ids and number (the number printed on the document). A document the ERP writes is not a document sent: the default workflows put it to send on the deal (flag_document — a badge, its PDF ready, the owner notified) and move the deal only when it reaches the customer — deal.document_sent (kind order or invoice; sent from Meetzy, or read in the mailbox by an ai_agent step followed by mark_document_sent). deal.document_waiting (config days: 1, 2, 3, 5 or 10 business days) fires while it is still not sent. company.erp_order is a new ERP order no deal follows yet: create_order_deal opens its deal. Change, pause or delete any of them.
/automations/catalogWhat a workflow can use herePOST/automations/checkCheck a workflow before savingGET/automations/templatesWorkflow templatesPOST/automations/from-templateCreate a workflow from a templateGET/automationsList workflowsGET/automations/foldersWorkflow foldersPOST/automations/foldersCreate a folderPATCH/automations/folders/{id}Rename, recolour or move a folderPUT/automations/folders/orderOrder the foldersDELETE/automations/folders/{id}Delete a folderPOST/automations/bulkSeveral workflows at oncePOST/automationsCreate a workflowGET/automations/{id}Get a workflow and its runsPATCH/automations/{id}Update, activate or pauseDELETE/automations/{id}Delete a workflowPOST/automations/{id}/duplicateDuplicate a workflowPOST/automations/{id}/runRun a workflow on records nowPOST/automations/{id}/previewWho matches a workflow nowPOST/automations/previewWho matches some conditionsPOST/inbound/{token}Trigger a workflow from any tool/automations/catalogWhat a workflow can use here
Everything needed to build a workflow in this workspace without guessing: triggers (with their config options and the record they start on), steps (with their fields, options and branches), condition fields and operators, merge tags, and the workspace’s own lead_statuses, company_statuses, lifecycle_stages, pipelines (deal stages with their probability and playbook), sequences, email_templates, email_campaigns, team and existing workflows — plus templates, the building rules and what is not possible (limits). Made for API clients and AI assistants.
curl "https://app.meetzy.ai/api/v1/automations/catalog" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/catalog", {
headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://app.meetzy.ai/api/v1/automations/catalog",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"triggers": [
{
"type": "contact.email_sent",
"label": "You emailed the contact (any mailbox: Outlook, Gmail…)",
"group": "Contacts",
"record": "contact",
"config": []
}
],
"steps": [
{
"type": "set_lead_status",
"label": "Set lead status",
"group": "Contact",
"fields": [
{
"key": "status",
"label": "Lead status",
"type": "lead_status"
},
{
"key": "forward_only",
"label": "Only move forward",
"type": "select",
"options": [
"yes",
"no"
],
"default": "yes"
}
]
},
{
"type": "move_deal_stage",
"label": "Move deal to a stage",
"group": "Sales",
"fields": [
{
"key": "stage",
"label": "Stage",
"type": "deal_stage_name"
},
{
"key": "create",
"label": "No open deal?",
"type": "select",
"options": [
"skip",
"open_one"
],
"default": "skip"
}
]
}
],
"conditions": {
"operators": [
"eq",
"neq",
"contains",
"not_contains",
"gt",
"gte",
"lt",
"lte",
"is_set",
"is_not_set",
"in"
]
},
"workspace": {
"lead_statuses": [
{
"id": "new",
"name": "New",
"kind": "new"
},
{
"id": "attempting",
"name": "Attempting to contact",
"kind": "working"
}
],
"pipelines": [
{
"id": "0c6e…",
"name": "Reorder",
"is_default": false,
"stages": [
{
"id": "reorder_due",
"name": "Reorder due",
"type": "open",
"probability": 30,
"playbook": "WhatsApp first — best reply rate."
}
]
}
]
},
"rules": [
"Shape: { name, description, trigger: { type, config }, conditions, actions, settings, status }."
],
"limits": [
"No custom code and no loops — chain workflows with \"enroll_workflow\" instead."
]
}/automations/checkCheck a workflow before saving
Send a workflow body: get errors (it would be refused) and warnings (it would be saved, but probably not as meant — an unknown field, a repeating trigger without allow_reenroll…). Nothing is saved. Creating and updating return the same errors (400) and warnings.
Body
namestring- Name.
triggerobject- Trigger.
conditionsobject- Conditions.
actionsobject[]- Steps.
settingsobject- Settings.
statusstringactivechecks it as if turning it on.
curl -X POST "https://app.meetzy.ai/api/v1/automations/check" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Email → Attempting", "trigger": { "type": "contact.email_sent" }, "conditions": { "match": "all", "rules": [ { "field": "status", "op": "eq", "value": "new" } ] }, "actions": [ { "type": "set_lead_status", "config": { "status": "attempting" } } ] }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/check", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Email → Attempting", "trigger": { "type": "contact.email_sent" }, "conditions": { "match": "all", "rules": [ { "field": "status", "op": "eq", "value": "new" } ] }, "actions": [ { "type": "set_lead_status", "config": { "status": "attempting" } } ] }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/check",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"name": "Email → Attempting",
"trigger": {
"type": "contact.email_sent"
},
"conditions": {
"match": "all",
"rules": [
{
"field": "status",
"op": "eq",
"value": "new"
}
]
},
"actions": [
{
"type": "set_lead_status",
"config": {
"status": "attempting"
}
}
]
},
)
data = res.json(){
"errors": [],
"warnings": [
"This trigger happens many times for the same record: set settings.allow_reenroll = true, or a record runs it only once."
]
}/automations/templatesWorkflow templates
Ready-made recipes available in this workspace: key, category, name, description, trigger, steps and what you choose after creating it (needs).
curl "https://app.meetzy.ai/api/v1/automations/templates" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/templates", {
headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://app.meetzy.ai/api/v1/automations/templates",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"templates": [
{
"key": "qualified_opens_deal",
"category": "Deals on autopilot",
"name": "Qualified → open a deal worth their usual order",
"trigger": "contact.status_changed",
"steps": [
"associate_company",
"create_deal",
"create_task"
],
"needs": [
"the pipeline"
]
}
]
}/automations/from-templateCreate a workflow from a template
A template as a new draft. overrides replaces its trigger, conditions, steps or settings (e.g. to set the stage it needs).
Body
keystringrequired- Template key.
namestring- Name (default: the template’s).
overridesobject{ trigger, conditions, actions, settings }.
curl -X POST "https://app.meetzy.ai/api/v1/automations/from-template" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "key": "email_keyword_deal", "name": "Proforma email → deal at Proforma Sent", "overrides": { "actions": [ { "type": "move_deal_stage", "config": { "stage": "Proforma Sent", "create": "open_one", "amount_mode": "forecast" } } ] } }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/from-template", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "key": "email_keyword_deal", "name": "Proforma email → deal at Proforma Sent", "overrides": { "actions": [ { "type": "move_deal_stage", "config": { "stage": "Proforma Sent", "create": "open_one", "amount_mode": "forecast" } } ] } }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/from-template",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"key": "email_keyword_deal",
"name": "Proforma email → deal at Proforma Sent",
"overrides": {
"actions": [
{
"type": "move_deal_stage",
"config": {
"stage": "Proforma Sent",
"create": "open_one",
"amount_mode": "forecast"
}
}
]
}
},
)
data = res.json()Empty answer.
/automationsList workflows
Every workflow with its trigger, conditions, actions, settings, status (draft, active, paused) and counters. Its folder is settings.folder_id (see the folders below).
curl "https://app.meetzy.ai/api/v1/automations" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations", {
headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://app.meetzy.ai/api/v1/automations",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"automations": [
{
"id": "3aba8ed9-a884-4f32-a536-43ec8685e640",
"user_from": "acme",
"name": "Tag inbound leads",
"description": null,
"status": "draft",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_bdf1du",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "8a71b47c499f34f0a3ffb94154523014",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:23:21.971442+00:00",
"updated_at": "2026-10-07T13:23:21.971442+00:00"
},
{
"id": "8729063c-509a-40e2-aa01-f89e98801698",
"user_from": "acme",
"name": "Tag inbound leads (copy)",
"description": null,
"status": "draft",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_649rr7",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {
"rr_pointer": 0
},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "bc497da644d1b9b1234887e06bcc180c",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:20:30.622812+00:00",
"updated_at": "2026-10-07T13:20:30.622812+00:00"
}
]
}/automations/foldersWorkflow folders
The folders workflows are put away in: id, name, color, position and how many workflows each holds, plus how many are unfiled. A workflow is in a folder through settings.folder_id.
curl "https://app.meetzy.ai/api/v1/automations/folders" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/folders", {
headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://app.meetzy.ai/api/v1/automations/folders",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"folders": [
{
"id": "9b0c3f4e-2a61-4c55-9d1e-6f7a8b9c0d1e",
"name": "Reorders",
"color": "#34C759",
"position": 0,
"workflows": 4
}
],
"unfiled": 3,
"total": 7
}/automations/foldersCreate a folder
Body
namestringrequired- Name (unique in the workspace).
colorstring- One of
#007AFF,#34C759,#FF9500,#AF52DE,#FF2D55,#5856D6,#30B0C7,#A2845E,#8E8E93(default: the next one).
curl -X POST "https://app.meetzy.ai/api/v1/automations/folders" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Reorders" }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/folders", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Reorders" }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/folders",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"name": "Reorders"
},
)
data = res.json(){
"folder": {
"id": "9b0c3f4e-2a61-4c55-9d1e-6f7a8b9c0d1e",
"name": "Reorders",
"color": "#34C759",
"position": 0,
"workflows": 0
}
}/automations/folders/{id}Rename, recolour or move a folder
Path parameters
idstringrequired- Id of the record (UUID).
Body
namestring- New name.
colorstring- New colour.
positioninteger- Its place in the list (0 = first).
curl -X PATCH "https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Reorders & Noël" }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc", { method: "PATCH", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Reorders & Noël" }), }); const data = await res.json();
import os, requests
res = requests.patch(
"https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"name": "Reorders & Noël"
},
)
data = res.json()Empty answer.
/automations/folders/orderOrder the folders
Body
idsstring[]required- Folder ids in the new order (those left out follow).
curl -X PUT "https://app.meetzy.ai/api/v1/automations/folders/order" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/folders/order", { method: "PUT", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` }, }); const data = await res.json();
import os, requests
res = requests.put(
"https://app.meetzy.ai/api/v1/automations/folders/order",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json()Empty answer.
/automations/folders/{id}Delete a folder
The folder goes; its workflows stay, Unfiled — none is deleted. Answers how many became unfiled.
Path parameters
idstringrequired- Id of the record (UUID).
curl -X DELETE "https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc", { method: "DELETE", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` }, }); const data = await res.json();
import os, requests
res = requests.delete(
"https://app.meetzy.ai/api/v1/automations/folders/e43414d6-f56f-42be-a64c-a836d6015efc",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"deleted": true,
"unfiled": 4
}/automations/bulkSeveral workflows at once
From the list, without opening them: move (to folder_id, or Unfiled without it), activate, pause, duplicate, delete. Each workflow is done on its own: one that cannot (it must be fixed before turning on…) is listed in failed with why, the others go through.
Body
idsstring[]required- Workflow ids (200 max).
actionstringrequiredmove,activate,pause,duplicateordelete.folder_idstring- For
move: the folder (none = Unfiled).
curl -X POST "https://app.meetzy.ai/api/v1/automations/bulk" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "ids": [ "5c1d…", "7e2f…" ], "action": "move", "folder_id": "9b0c3f4e-2a61-4c55-9d1e-6f7a8b9c0d1e" }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/bulk", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "ids": [ "5c1d…", "7e2f…" ], "action": "move", "folder_id": "9b0c3f4e-2a61-4c55-9d1e-6f7a8b9c0d1e" }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/bulk",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"ids": ["5c1d…", "7e2f…"],
"action": "move",
"folder_id": "9b0c3f4e-2a61-4c55-9d1e-6f7a8b9c0d1e"
},
)
data = res.json(){
"action": "activate",
"done": 1,
"failed": [
{
"id": "7e2f…",
"name": "Proforma email → deal",
"error": "This workflow cannot be saved: Step 1 (Move deal to a stage): choose the stage."
}
]
}/automationsCreate a workflow
Trigger — { "type": "<event>", "config": { … } }. Any event type (contact.created, deal.stage_changed, contact.replied, webhook.received…) with its optional config (e.g. deal.stage_changed: pipeline_id, to; contact.score_changed: above — see trigger config), or a schedule: { "type": "schedule", "config": { "frequency": "daily" | "weekdays" | "weekly", "time": "09:00", "weekday": 1, "timezone": "Europe/Paris" } }. Conditions — who may enter: { "match": "all" | "any", "rules": [{ "field": "lead_score", "op": "gte", "value": 50 }] }. Fields of the contact, deal, company or task, plus related fields (company.industry, deal.amount…) — see condition fields and operators. Actions — the steps, in order: [{ "type": "create_task", "config": { "title": "Call {{contact.name}}", "type": "call", "due_in_days": 1 } }]. Branching steps carry their own lists: if_else → branches: { yes: [...], no: [...] } with config.rules, ab_split → branches: { a: [...], b: [...] }. Every action and its config fields are in the action reference; merge tags work in every text. Settings — goal ({ match, rules }: a run ends as soon as the record matches it), exit_on_events (event types that end the run, e.g. ["contact.meeting_booked"]), allow_reenroll (default false: once per record), max_runs_per_day, continue_on_error, and for inbound triggers create_contact (default true).
Body
namestringrequired- Name.
triggerobjectrequired- What starts it (
typerequired). conditionsobject- Who may enter. Default: everyone.
actionsobject[]- Steps.
settingsobject- Goal, exits, limits.
statusstringdraft(default),activeorpaused.descriptionstring- Description.
folder_idstring- The folder it starts in (see Workflow folders).
curl -X POST "https://app.meetzy.ai/api/v1/automations" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "name": "Smart follow-up", "status": "active", "trigger": { "type": "email.sent" }, "conditions": { "match": "all", "rules": [ { "field": "lifecycle_stage", "op": "in", "value": "lead,mql" } ] }, "actions": [ { "type": "wait_for_event", "config": { "event_type": "contact.replied", "timeout_days": 3 } }, { "type": "if_else", "config": { "match": "all", "rules": [ { "field": "wait.result", "op": "eq", "value": "received" } ] }, "branches": { "yes": [ { "type": "update_contact", "config": { "field": "lifecycle_stage", "value": "sql" } }, { "type": "create_task", "config": { "title": "Call {{contact.name}} — replied", "type": "call", "due_in_days": 0, "priority": "high" } } ], "no": [ { "type": "send_linkedin_invite", "config": {} } ] } } ], "settings": { "exit_on_events": [ "contact.meeting_booked" ] } }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "name": "Smart follow-up", "status": "active", "trigger": { "type": "email.sent" }, "conditions": { "match": "all", "rules": [ { "field": "lifecycle_stage", "op": "in", "value": "lead,mql" } ] }, "actions": [ { "type": "wait_for_event", "config": { "event_type": "contact.replied", "timeout_days": 3 } }, { "type": "if_else", "config": { "match": "all", "rules": [ { "field": "wait.result", "op": "eq", "value": "received" } ] }, "branches": { "yes": [ { "type": "update_contact", "config": { "field": "lifecycle_stage", "value": "sql" } }, { "type": "create_task", "config": { "title": "Call {{contact.name}} — replied", "type": "call", "due_in_days": 0, "priority": "high" } } ], "no": [ { "type": "send_linkedin_invite", "config": {} } ] } } ], "settings": { "exit_on_events": [ "contact.meeting_booked" ] } }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"name": "Smart follow-up",
"status": "active",
"trigger": {
"type": "email.sent"
},
"conditions": {
"match": "all",
"rules": [
{
"field": "lifecycle_stage",
"op": "in",
"value": "lead,mql"
}
]
},
"actions": [
{
"type": "wait_for_event",
"config": {
"event_type": "contact.replied",
"timeout_days": 3
}
},
{
"type": "if_else",
"config": {
"match": "all",
"rules": [
{
"field": "wait.result",
"op": "eq",
"value": "received"
}
]
},
"branches": {
"yes": [
{
"type": "update_contact",
"config": {
"field": "lifecycle_stage",
"value": "sql"
}
},
{
"type": "create_task",
"config": {
"title": "Call {{contact.name}} — replied",
"type": "call",
"due_in_days": 0,
"priority": "high"
}
}
],
"no": [
{
"type": "send_linkedin_invite",
"config": {}
}
]
}
}
],
"settings": {
"exit_on_events": ["contact.meeting_booked"]
}
},
)
data = res.json(){
"id": "3aba8ed9-a884-4f32-a536-43ec8685e640",
"user_from": "acme",
"name": "Tag inbound leads",
"description": null,
"status": "draft",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_bdf1du",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "8a71b47c499f34f0a3ffb94154523014",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:23:21.971442+00:00",
"updated_at": "2026-10-07T13:23:21.971442+00:00"
}/automations/{id}Get a workflow and its runs
The workflow, its last 500 runs (status, step reached, waiting until, errors, log) and per-step stats: how many runs reached, completed, failed or wait on each step, and the YES / NO, A / B split of branches.
Path parameters
idstringrequired- Id of the record (UUID).
curl "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc", {
headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` },
});
const data = await res.json();import os, requests
res = requests.get(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"automation": {
"id": "3aba8ed9-a884-4f32-a536-43ec8685e640",
"user_from": "acme",
"name": "Tag inbound leads",
"description": null,
"status": "draft",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_bdf1du",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "8a71b47c499f34f0a3ffb94154523014",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:23:21.971442+00:00",
"updated_at": "2026-10-07T13:23:21.971442+00:00"
},
"runs": [],
"step_stats": {},
"run_counts": {}
}/automations/{id}Update, activate or pause
Send what changes. status: "active" validates the steps first; status: "paused" stops waiting runs.
Path parameters
idstringrequired- Id of the record (UUID).
Body
namestring- Name.
triggerobject- Trigger.
conditionsobject- Conditions.
actionsobject[]- Steps (replace all).
settingsobject- Settings.
statusstring- Status.
descriptionstring- Description.
curl -X PATCH "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "status": "active" }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc", { method: "PATCH", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "status": "active" }), }); const data = await res.json();
import os, requests
res = requests.patch(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"status": "active"
},
)
data = res.json(){
"id": "3aba8ed9-a884-4f32-a536-43ec8685e640",
"user_from": "acme",
"name": "Tag inbound leads",
"description": null,
"status": "active",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_bdf1du",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "8a71b47c499f34f0a3ffb94154523014",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:23:21.971442+00:00",
"updated_at": "2026-10-07T13:23:21.971442+00:00"
}/automations/{id}Delete a workflow
Path parameters
idstringrequired- Id of the record (UUID).
curl -X DELETE "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc", { method: "DELETE", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` }, }); const data = await res.json();
import os, requests
res = requests.delete(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"deleted": true
}/automations/{id}/duplicateDuplicate a workflow
Copy as a draft, named “(copy)”.
Path parameters
idstringrequired- Id of the record (UUID).
curl -X POST "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/duplicate" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/duplicate", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` }, }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/duplicate",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"id": "cf673d76-b486-444a-a4e0-82b63890441b",
"user_from": "acme",
"name": "Tag inbound leads (copy)",
"description": null,
"status": "draft",
"trigger": {
"type": "contact.created"
},
"conditions": {
"match": "all",
"rules": []
},
"actions": [
{
"id": "a0_0_bdf1du",
"type": "add_tag",
"config": {
"tag": "from-api"
}
}
],
"settings": {
"rr_pointer": 0
},
"stats": {
"runs": 0,
"failed": 0,
"completed": 0
},
"template_key": null,
"inbound_token": "b3a90b090bfdafb8b5a7b004f190ad13",
"next_run_at": null,
"last_run_at": null,
"created_by": "olivia@acme.com",
"created_at": "2026-10-07T13:23:25.031276+00:00",
"updated_at": "2026-10-07T13:23:25.031276+00:00"
}/automations/{id}/runRun a workflow on records now
Enrolls up to 500 contacts or deals right away, ignoring the trigger and conditions (event workflow.enrolled). Re-enrollment is allowed.
Path parameters
idstringrequired- Id of the record (UUID).
Body
contact_idsuuid[]- Contacts to run it on.
deal_idsuuid[]- Deals to run it on.
curl -X POST "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/run" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contact_ids": [ "e43414d6-f56f-42be-a64c-a836d6015efc" ] }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/run", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "contact_ids": [ "e43414d6-f56f-42be-a64c-a836d6015efc" ] }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/run",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"contact_ids": ["e43414d6-f56f-42be-a64c-a836d6015efc"]
},
)
data = res.json(){
"started": 1,
"results": [
{
"contact_id": "e43414d6-f56f-42be-a64c-a836d6015efc",
"run_id": "0c2f1e3d-5b6a-4c7d-8e9f-a0b1c2d3e4f5"
}
]
}/automations/{id}/previewWho matches a workflow now
How many contacts match the workflow’s conditions (or the conditions you send), with a sample — before you activate it.
Path parameters
idstringrequired- Id of the record (UUID).
Body
conditionsobject- Conditions to test instead of the saved ones.
curl -X POST "https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/preview" \ -H "Authorization: Bearer $MEETZY_API_KEY"
const res = await fetch("https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/preview", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}` }, }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/e43414d6-f56f-42be-a64c-a836d6015efc/preview",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
)
data = res.json(){
"total": 1,
"matching": 1,
"approximate": false,
"sample": [
{
"id": "8028ff76-1da4-451f-a0e7-dd91db772c20",
"name": "Camille Laurent",
"company": "Payfit",
"score": 40
}
]
}/automations/previewWho matches some conditions
Same as above without a saved workflow.
Body
conditionsobjectrequired- Conditions to test.
curl -X POST "https://app.meetzy.ai/api/v1/automations/preview" \ -H "Authorization: Bearer $MEETZY_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "conditions": { "match": "all", "rules": [ { "field": "lead_score", "op": "gte", "value": 60 }, { "field": "company.employees", "op": "gt", "value": 50 } ] } }'
const res = await fetch("https://app.meetzy.ai/api/v1/automations/preview", { method: "POST", headers: { Authorization: `Bearer ${process.env.MEETZY_API_KEY}`, "Content-Type": "application/json" }, body: JSON.stringify({ "conditions": { "match": "all", "rules": [ { "field": "lead_score", "op": "gte", "value": 60 }, { "field": "company.employees", "op": "gt", "value": 50 } ] } }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/automations/preview",
headers={"Authorization": f"Bearer {os.environ['MEETZY_API_KEY']}"},
json={
"conditions": {
"match": "all",
"rules": [
{
"field": "lead_score",
"op": "gte",
"value": 60
},
{
"field": "company.employees",
"op": "gt",
"value": 50
}
]
}
},
)
data = res.json(){
"total": 1840,
"matching": 214,
"approximate": false,
"sample": [
{
"id": "e43414d6-f56f-42be-a64c-a836d6015efc",
"name": "Camille Laurent",
"company": "Payfit"
}
]
}/inbound/{token}Trigger a workflow from any tool
For workflows with the trigger webhook.received or form.submitted: each one has a secret URL https://app.meetzy.ai/api/v1/inbound/{token} (shown in the app). Post JSON or a plain HTML form to it — no API key, the token is the secret. The contact is found by email or created (first name, last name, company, title, phone, source), then the workflow runs with the whole payload available as {{event.*}}. HTML forms can send _redirect (or ?redirect=) to land on a thank-you page.
Path parameters
tokenstringrequired- The workflow’s inbound token (its secret URL).
Body
emailstring- Contact email (also
contact.email,primary_email). contact_iduuid- Or an existing contact.
first_namestring- First name (also
firstName). last_namestring- Last name (also
lastName). companystring- Company.
titlestring- Job title (also
job_title). phonestring- Phone.
sourcestring- Source. Default
webhookorform. …any- Any other field, readable in the workflow.
Answers 202. 404 for an unknown token, 409 when the workflow is not active.
curl -X POST "https://app.meetzy.ai/api/v1/inbound/inb_9f3c2a71e4b84d0c" \ -H "Content-Type: application/json" \ -d '{ "email": "camille@payfit.com", "first_name": "Camille", "company": "Payfit", "plan": "Business", "message": "Can we talk about SAP?" }'
const res = await fetch("https://app.meetzy.ai/api/v1/inbound/inb_9f3c2a71e4b84d0c", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "email": "camille@payfit.com", "first_name": "Camille", "company": "Payfit", "plan": "Business", "message": "Can we talk about SAP?" }), }); const data = await res.json();
import os, requests
res = requests.post(
"https://app.meetzy.ai/api/v1/inbound/inb_9f3c2a71e4b84d0c",
json={
"email": "camille@payfit.com",
"first_name": "Camille",
"company": "Payfit",
"plan": "Business",
"message": "Can we talk about SAP?"
},
)
data = res.json(){
"accepted": true,
"run_id": "0c2f1e3d-5b6a-4c7d-8e9f-a0b1c2d3e4f5",
"contact_id": "e43414d6-f56f-42be-a64c-a836d6015efc"
}