Enviar Opções
Workflow de mensagens que envia opções interativas para um cliente e responde com base na seleção
manual messaging options interactive client
O que está incluído
| Campo | Valor |
|---|---|
| Nome | Enviar Opções |
| Tipo | Workflow |
| Trigger | manual |
| Etapas | 1 |
| Entradas | 1 |
JSON Completo
Clique para expandir
{
"description": "Messaging workflow that sends interactive options to a client and responds based on selection",
"tags": [
"manual",
"messaging",
"options",
"interactive",
"client"
],
"document": {
"name": "Send Options",
"enabled": true,
"log_level": "info",
"trigger": {
"type": "manual"
},
"workflowInput": [
{
"name": "client",
"description": "Client reference",
"schema": {
"type": "ref",
"required": true,
"ref": "clients"
}
}
],
"steps": [
{
"condition": {
"expr": "client",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/messaging/contact/send",
"actions/messaging/contact/send": {
"use_manual_id": true,
"contactId_manual": {
"expr": "client",
"onFailure": "throw",
"resultType": "any"
},
"messages": [
{
"type": "options",
"payload": {
"title": {
"expr": "\"Choose an option\"",
"onFailure": "throw",
"resultType": "any"
},
"description": {
"expr": "\"What would you like to do?\"",
"onFailure": "throw",
"resultType": "any"
},
"options": [
{
"label": {
"expr": "\"Yes\"",
"onFailure": "throw",
"resultType": "any"
},
"value": {
"expr": "\"Yes\"",
"onFailure": "throw",
"resultType": "any"
},
"actions": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/messaging/conversation/response/compose",
"actions/messaging/conversation/response/compose": {
"messages": [
{
"type": "text",
"payload": {
"text": {
"expr": "\"You chose Yes\"",
"onFailure": "throw",
"resultType": "any"
}
}
}
]
}
}
}
],
"forwardMessageToAgent": true
},
{
"label": {
"expr": "\"No\"",
"onFailure": "throw",
"resultType": "any"
},
"value": {
"expr": "\"No\"",
"onFailure": "throw",
"resultType": "any"
},
"actions": [
{
"condition": {
"expr": "true",
"onFailure": "throw",
"resultType": "any"
},
"action": {
"actionType": "actions/messaging/conversation/response/compose",
"actions/messaging/conversation/response/compose": {
"messages": [
{
"type": "text",
"payload": {
"text": {
"expr": "\"You chose No\"",
"onFailure": "throw",
"resultType": "any"
}
}
}
]
}
}
}
],
"forwardMessageToAgent": true
}
]
}
}
]
}
}
}
]
}
}
Como Importar
- Baixe o arquivo ZIP usando o botão acima
- Navegue até Configurações da Empresa → Transferência de Dados no seu painel AutoTalk
- Clique em Importar e selecione o arquivo ZIP baixado
- Revise o resumo da importação e confirme
- Todos os IDs de documentos são remapeados automaticamente — nenhuma edição manual de IDs é necessária