Ok.
This is my Webhook JSON:
[
{
"headers": {
"content-type": "application/json",
"host": "localhost:5678",
"accept": "application/json",
"content-length": "1268",
"connection": "close"
},
"params": {},
"query": {},
"body": {
"_data": {
"id": {
"fromMe": false,
"remote": "[email protected]",
"id": "XXXXXXXXXXX",
"_serialized": "[email protected]_XXXXXXXXXXX"
},
"body": "Oi",
"type": "chat",
"t": XXXXXXXXXXX,
"notifyName": "XXXXXXXXXXX",
"from": "[email protected]",
"to": "[email protected]",
"self": "in",
"ack": 1,
"isNewMsg": true,
"star": false,
"kicNotified": false,
"recvFresh": true,
"isFromTemplate": false,
"pollInvalidated": false,
"broadcast": false,
"mentionedJidList": [],
"isVcardOverMmsDocument": false,
"isForwarded": false,
"hasReaction": false,
"ephemeralOutOfSync": false,
"productHeaderImageRejected": false,
"lastPlaybackProgress": 0,
"isDynamicReplyButtonsMsg": false,
"isMdHistoryMsg": false,
"requiresDirectConnection": false,
"pttForwardedFeaturesEnabled": true,
"isEphemeral": false,
"isStatusV3": false,
"links": []
},
"id": {
"fromMe": false,
"remote": "[email protected]",
"id": "XXXXXXXXXXX",
"_serialized": "[email protected]_XXXXXXXXXXX"
},
"ack": 1,
"hasMedia": false,
"body": "Oi",
"type": "chat",
"timestamp": 99999999,
"from": "[email protected]",
"to": "[email protected]",
"deviceType": "web",
"isForwarded": false,
"forwardingScore": 0,
"isStatus": false,
"isStarred": false,
"broadcast": false,
"fromMe": false,
"hasQuotedMsg": false,
"vCards": [],
"mentionedIds": [],
"isGif": false,
"isEphemeral": false,
"links": []
}
}
]
HTTP Request JSON:
{"number":"{{$node["Webhook"].json["body"]["_data"]["from"]}}","message":"*Olá {{$node["Webhook"].json["body"]["_data"]["notifyName"]}}, tudo bem?*\n\n_Escolha uma das opções abaixo:_\n\n1-Financeiro\n2-Comercial\n3-Jurídico\n0-Voltar ao início","ticketwhatsappId":1,"token":"XXXXXXXXXXXXXXXXXXX"}
N8N version: 0.191.0