for google sheets:
workflow.makeSuccess = false;
const leadData = {
example: workflow.example,
exampleEmail: workflow.exampleEmail,
};
try {
const response = await axios.post('https://hooks.zapier.com/hooks/catch/YOURZAPIERHOOK', leadData);
workflow.makeSuccess = true;
}
catch (error) {
console.error(error);
}