Help with Zapier Integrations
# 🤝help
c
Hey guys, im trying to follow along on a tutorial for making a chatbot send lead data to the business but i can't get the zapier integration to work. I'm pretty sure i followed his code exactly (mine is the first image) but i keep getting errors. anyone know what's up?
f
Hey @careful-tomato-5454 i dont believe we have a zapier tutorial. what tutorial are you following?
t
@freezing-printer-49373 can you guys do a tutorial on this on youtube?
f
added it to the to-do list
i think a documentation will probably be published first
keep in mind this channel is in beta
s
Hey, the problem is that you missed "," after every object inside the leadData add it and it should work
also you need to close it with {
Just copy and paste that: workflow.zapierSuccess = false const leadData = { name: workflow.name, field: workflow.field, gwllevel: workflow.gwllevel, phone: workflow.phone, email: workflow.email, specific1: workflow.specific1 } try { const response = await axios.post('PUT WEBHOOK HERE', leadData) console.log(response.data) workflow.zapierSuccess = true } catch (error) { console.error(error) }
c
thank you ever so much! it's always the littlest things that mess me up haha
9 Views