r
Hey team, anyone got any videos on how to integrate the chatbot with Zapier to capture information that the bot can't answer and have it uploaded to a Google doc that I can then flow back into the bots KB?
a
Google it. I saw one video about very similar integration with Sheets
e
Put this into execute code, you can adjust the variables, I had the variables property date and message: if (workflow.ZapierMessage === "Sorry I do not have an answer to that question, if you would like to speak to a human, please say so.") { workflow.zapierSuccess = false let currentDateTime = new Date() const messageData = { property: 'House', date: currentDateTime, message: workflow.UserQuestion } // This adds to a zapier table or a google sheet of your choice. Setup in Zapier yourself and replace YOUR_ZAPIER_URL_HERE with your webhook URL. try { const response = await axios.post('YOUR_ZAPIER_URL_HERE', messageData) console.log(response.data) workflow.zapierSuccess = true } catch (error) { console.error(error) } }
c
see the tutorial I posted 🙂
r
Yeah awesome mate ill try this code, thanks.
3 Views