workflow.zapierSuccess = false
Hello everyong. I'm excited to be here. Thank you in advance.
If I change the references to Zapier and add my Make API URL
OR Use something like this. https://discordapp.com/channels/1108396290624213082/1128218825423343636/1128218825423343636https://discordapp.com/channels/1108396290624213082/1128218825423343636/1128218825423343636
const leadData = {
name: workflow.name,
email: workflow.email,
whoFor: workflow.whoFor,
whyLessons: workflow.whyLessons,
typeOfMartialArt: workflow.typeOfMartialArt
}
// Replace YOUR_ZAPIER_URL_HERE with your zapier webhook url
try {
const response = await axios.post('https://hooks.zapier.com/hooks/catch/144677/3dafw51/', leadData)
console.log(response.data)
workflow.zapierSuccess = true
} catch (error) {
console.error(error)
}