Skip to main content

follow_up_rule

idinteger
titlestring
enabledboolean
account_idinteger
inbox_idinteger

Limit the rule to one inbox. Null applies it everywhere.

trigger_typestring

Today the only trigger is silence — the contact has not replied for delay_minutes.

Possible values: [no_reply]

delay_minutesinteger

How long the silence has to last before the rule fires

content_typestring

text sends content as written, ai has the assistant compose it, and template sends an approved WhatsApp template from template_params.

Possible values: [text, ai, template]

contentstring
conditionsobject[]

All of them have to hold for the rule to fire

statusesstring[]

Which conversation statuses the rule watches

actionsobject[]
template_paramsobject
ai_configobject
ai_gatedboolean

Ask the assistant whether the follow-up is worth sending before sending it, so a conversation that already resolved itself is left alone.

ai_gate_instructionstring

What the assistant should weigh when deciding

created_by_idinteger
created_atinteger
updated_atinteger
follow_up_rule
{
"id": 0,
"title": "string",
"enabled": true,
"account_id": 0,
"inbox_id": 0,
"trigger_type": "no_reply",
"delay_minutes": 0,
"content_type": "text",
"content": "string",
"conditions": [
{}
],
"statuses": [
"string"
],
"actions": [
{}
],
"template_params": {},
"ai_config": {},
"ai_gated": true,
"ai_gate_instruction": "string",
"created_by_id": 0,
"created_at": 0,
"updated_at": 0
}