crooked-lion-69117
09/01/2023, 10:41 AMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147120870263898202/93CE3DD2-31E9-4B33-83E9-C4CB9D919354_1_201_a.jpeg▾
https://cdn.discordapp.com/attachments/1147118996332740639/1147120870519734313/FC622961-D7D0-45B8-80BF-EBFBE8FDAE72_1_201_a.jpeg▾
acceptable-kangaroo-64719
09/01/2023, 10:52 AMaxios.post()
https://cdn.discordapp.com/attachments/1147118996332740639/1147121748790218772/image.png▾
crooked-lion-69117
09/01/2023, 1:42 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147164542632198194/E1ABE981-F1BF-4AE1-ABC0-E56791CF7FD8_1_201_a.jpeg▾
https://cdn.discordapp.com/attachments/1147118996332740639/1147164542917423226/FA731B06-DA44-4D60-A9A0-A10AB09AE897_1_201_a.jpeg▾
acceptable-kangaroo-64719
09/01/2023, 5:17 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147218661136924746/image.png▾
crooked-lion-69117
09/01/2023, 5:21 PMacceptable-kangaroo-64719
09/01/2023, 5:28 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147221387975598281/image.png▾
acceptable-kangaroo-64719
09/01/2023, 5:28 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147221534981759087/image.png▾
crooked-lion-69117
09/01/2023, 5:36 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147223531562733598/B5FBA97D-CD2C-4D83-88ED-13D1B1BC7291_1_201_a.jpeg▾
crooked-lion-69117
09/01/2023, 5:37 PMacceptable-kangaroo-64719
09/01/2023, 5:40 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147224360797618307/image.png▾
acceptable-kangaroo-64719
09/01/2023, 5:40 PMhttps://cdn.discordapp.com/attachments/1147118996332740639/1147224468083720192/image.png▾
crooked-lion-69117
09/01/2023, 5:56 PMcrooked-lion-69117
09/01/2023, 5:58 PMcrooked-lion-69117
09/01/2023, 5:58 PMacceptable-kangaroo-64719
09/01/2023, 6:00 PMrefined-television-22789
09/02/2023, 4:30 AMworkflow.zapierSuccess = false
const leadData = {
name: workflow.name,
email: workflow.email,
phone: workflow.phone,
budget: workflow.budget,
metals: workflow.metals,
colors: workflow.colors,
brand: workflow.brand,
size: workflow.bandsize,
additionalnotes: workflow.addlnotes
}
// Replace YOUR_ZAPIER_URL_HERE with your zapier webhook url
try {
const response = await axios.post('INSERT ZAPIER WEBHOOK HERE', leadData)
console.log(response.data)
workflow.zapierSuccess = true
} catch (error) {
console.error(error)
}
replace the workflows with the workflows in your bot.
With Zapier, set up a webhook for your initial trigger