average-librarian-18978
04/01/2025, 1:17 AMconst apiUrl = 'https://<workspacename>.app.n8n.cloud/webhook/<endpoint>';
const payload = {
name: workflow.userName,
email: workflow.userEmail,
phone: workflow.userPhone,
conversationId: event.conversationId
};
axios.post(apiUrl, payload)
I'm basically trying to save the details of the user in a google sheet along with some other processing in n8n . But the botpress workflow stops at this execute code card for some reason. Additionally, this only happens in published chat. When I use the test emulator, everything works as expected.
Would appreciate any help!average-librarian-18978
04/01/2025, 1:19 AMwooden-beard-40210
04/01/2025, 6:39 AM