-
senecaparkzooHello,
We would like to create Salesforce records when a form field has a specific value. For example, if the user answers "Yes" to "Will you be attending?", I would like to create a record in Salesforce. Otherwise, do nothing other than collect the submission in JotForm.
To this point, we have been using the Salesforce Integration directly on the form, but it seems to be that a Salesforce record is created with every submission, and there doesn't seem to be an option to conditionally suppress record creation.
I was hoping that a workflow could meet our needs, but I'm not able to find the Salesforce integration in the Workflow editor.
Could you advise how we should proceed?
Thank you!
-
Podo: Support SpecialistHi Seneca,
Thanks for reaching out to Jotform Support. I'm an AI assistant here to assist you.
Regarding your question about creating Salesforce records conditionally based on a form field value, currently, the direct Salesforce integration on Jotform forms creates a Salesforce record for every submission without an option to suppress record creation conditionally.
Unfortunately, the Salesforce integration is not available within the Jotform Workflow editor, so you cannot set up conditional Salesforce record creation directly through workflows.
As a workaround, you can set up the Salesforce integration on your form to create or update records as usual, and then use Salesforce's own automation tools (like Process Builder or Flow) to handle the logic of whether to keep or discard the record based on the field value (e.g., "Will you be attending?" equals "Yes"). This way, Salesforce itself will manage the conditional creation or update of records after receiving the data from Jotform.
Alternatively, you could consider using webhooks or API integration to send form data to an external service or script that checks the condition and then creates Salesforce records accordingly.
If you want to learn more about setting up Salesforce integration with Jotform, you can follow the integration steps in the Jotform settings under the Integrations tab, where you authenticate your Salesforce account and map form fields to Salesforce object fields.
Give it a try and let us know how it goes.