delightful-beach-45965
08/24/2023, 8:54 PM{
"type": "text",
"text": "Thanks for your payment!",
"conversationId": "your-conversation-id",
"userId": "your-user-id"
}
Code to get ids
try {
const data = event.payload.body;
console.log("income data from webhook", data);
event.conversationId = data.conversationId;
event.userId = data.userId;
workflow.income_text = data.text
} catch (error) {
console.log('error')
}
Do not forget to activate webhook integration.