curl --location '/smartflows//actions/webhook' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Custom activity name",
"ancestorId": "4a06896c-81b3-44f4-b493-2057bef951a2",
"url": "https://facebook.com/webhooks/sfasf351",
"method": "get",
"headers": [
{
"key": "authorization",
"value": "s;fljeklsff456s"
}
],
"body": "{\"data\":{\"firstname\":\"John\",\"lastname\":\"Doe\",\"email\":\"john.doe@gmail.com\"}}",
"onError": "dontCare",
"saveResponse": [
{
"jsonPath": "data.contact_id",
"contactField": "facebook_id"
}
]
}'