Answered

Salesforce Integration - Skip incomplete responses?

  • 18 December 2021
  • 1 reply
  • 117 views

I have a fairly complex application form as part of an intake flow for a learning program. The first part of the application has a series of screening questions to see if the respondent is eligible for the program. If they are eligible, we then ask for their personal information (name, email) and feed that into Salesforce to churn through our automated onboarding process.

If they aren’t eligible for the program, we then ask if they would like to sign up for our mailing list so we can capture their information and send updates in case our requirements change in the future. If they say yes, we then ask for their name and email as well. If they say no, we show them an ending.

The issue I’m running into is that the sync to Salesforce was working well for the first few days, and then stopped abruptly. The error messages simply said “Exception: Invalid field for Contact” with no other information. Eventually, I realized that we had received a few responses that were ineligible for the program and had selected No for the mailing list (and therefore did not have name or email attached). When I deleted these responses from our Typeform response table, all of the new responses finally synced up properly.

To me, the expected behaviour would be that if a response doesn’t have enough information to create a Salesforce record, it would skip that response and move on to the next. However, it looks as though what actually happens is that it blocks the syncing of any responses until they are removed on the Typeform end.

Is there a way to change this behaviour? We very much don’t want to collect the names and emails of every single person filling out the form from a data ethics perspective, unless they are eligible for our programs. Even if I take out the mailing list signup and have that be a separate linked form, anyone who fails screening questions would create a response without the required fields and muck up the Salesforce sync.

Would love some insight or recommendations to explore here.

icon

Best answer by Liz 20 December 2021, 12:23

View original

1 reply

Userlevel 7
Badge +5

Hi @danw Thanks for stopping by the community! I’m afraid this is the expected behavior of the integration since it requires that data to create a contact. I would suggest marking those fields as required to keep the integration working. 

If you want to give the option as to whether they can provide their personal information, it would then be better to create two forms and direct the respondent to a separate one if they choose not to provide their information. 

@picsoung may have other workarounds that I’m not aware of, but I don’t think it’s possible to bypass the data the integration requires. 

Reply