When I authorize Facebook to Chatwoot, how can I obtain the specific message content in Chatwoot through the webhook URL? #9857
Unanswered
13381833071
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have authorized FB in Chatwoot and set up a webhook URL in Chatwoot, which is the webhook URL I created in n8n. In n8n, the webhook node is connected to a workflow for intelligent question answering. I can now receive messages from FB through Chatwoot, and the response JSON of these messages can also be passed to the webhook in n8n via the webhook URL set in Chatwoot. However, the response JSON received at the n8n webhook does not contain the specific content of the customer's inquiry. Below is the specific content I received at the n8n webhook node:
json
复制代码
[
{
"headers": {
"connection": "upgrade",
"host": "x-me.site",
"content-length": "502",
"accept": "application/json",
"user-agent": "rest-client/2.1.0 (linux x86_64) ruby/3.3.3p89",
"content-type": "application/json",
"accept-encoding": "gzip;q=1.0,deflate;q=0.6,identity;q=0.3",
"sentry-trace": "0ee36b85fe5f472d86b83d078d269c97-d2235d19fb3a4d25",
"baggage": "sentry-trace_id=0ee36b85fe5f472d86b83d078d269c97,sentry-environment=production,sentry-release=6694db093fc0635d622fe3c49a42277e62fbd078,sentry-public_key=8e13c09a3ceb4e60bfe1bd84f799a3f8",
"traceparent": "00-30708682c335536fd718d83f80c2adb9-0b62cebaaad29139-00",
"tracestate": "3437125@nr=0-0-3437125-1087218002-0b62cebaaad29139-b5913f3e9bc3867a-0-0.483922-1722018062950",
"newrelic": "eyJ2IjpbMCwxXSwiZCI6eyJ0eSI6IkFwcCIsImFjIjoiMzQzNzEyNSIsImFwIjoiMTA4NzIxODAwMiIsInR4IjoiYjU5MTNmM2U5YmMzODY3YSIsInRyIjoiMzA3MDg2ODJjMzM1NTM2ZmQ3MThkODNmODBjMmFkYjkiLCJzYSI6ZmFsc2UsInByIjowLjQ4MzkyMiwidGkiOjE3MjIwMTgwNjI5NTAsImlkIjoiMGI2MmNlYmFhYWQyOTEzOSJ9fQ=="
},
"params": {},
"query": {},
"body": {
"account": {
"id": 100851,
"name": "Atlanta College of Liberal Arts and Sciences"
},
"additional_attributes": {},
"avatar": "",
"custom_attributes": {},
"email": null,
"id": 143637413,
"identifier": null,
"name": "哲 王",
"phone_number": null,
"thumbnail": "",
"event": "contact_updated",
"changed_attributes": [
{
"updated_at": {
"previous_value": "2024-07-26T18:18:05.283Z",
"current_value": "2024-07-26T18:21:02.401Z"
}
},
{
"last_activity_at": {
"previous_value": "2024-07-26T18:18:05.280Z",
"current_value": "2024-07-26T18:21:02.398Z"
}
}
]
},
"webhookUrl": "https://x-me.site/webhook-test/13bc7163-c590-4fb7-9afb-c264e4a70d24",
"executionMode": "test"
}
]
Beta Was this translation helpful? Give feedback.
All reactions