I get this error (Error message: Could not create record of the "Lead" ) on my action creating a Salesforce lead a lot, due to certain fields not being populated, or being populated incorrectly based on my companies Salesforce validation rules. During that action of creating the lead, I add the lead being created to a campaign in Salesforce as well. Even if the lead can’t be created, I still want to add the new prospect to a campaign. How do I go about building that zap so even if that error occurs and it can’t create a lead, I still have it set up where the zap can add the prospect to a salesforce campaign? I believe I just need an action that will listen for that error message and then filer down a path if the error occurs. Then, from there just add prospect to campaign. My question is what is that action that will listen for that error?
Hi
Add an Error Handler: https://help.zapier.com/hc/en-us/articles/22495436062605-Set-up-custom-error-handling
Hi
Add an Error Handler: https://help.zapier.com/hc/en-us/articles/22495436062605-Set-up-custom-error-handling
So thinking about this. I need an action that listens for the specific Zap error, not just any error.
Hi
An error handler will output a Error Message field that contains the error message - see: Use error messages in later steps. So then, you can use a filter or paths to check that the field contains a specific kind of error message and run actions accordingly.
Hope that helps to get you pointed in the right direction. If you run into any issues or have further questions just let us know!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.