I'm using Zapier to create a new lead in Salesforce with data from a Fluidsurveys form. It all works fine except the Record Type is not being set correctly and I can't figure out why.
Checking the task history in Zapier, the RecordTypeId field is set as follows when it creates a new lead:
This is the correct RecordTypeId (I checked by putting the id into a URL in Salesforce i.e. https://ap1.salesforce.com/setup/ui/recordtypefields.jsp?id=01290000000TIw3AAG and it links to the correct Record Type).
But when I check the new lead in Salesforce, all the other fields are correct but the Record Type is set to the default record type rather than the one which is given by the above id.
The profile I'm using i.e. the one Zapier logs in with, has all record types available to it.
Any ideas why this doesn't work?
Explanation of Zapier: "Zapier connects the web apps you use to easily move your data and automate tedious tasks." I use it to grab data from a new Fluidsurvey completed response and create new leads in Salesforce.
Some additional info after experimentation:
- When I changed the default record type on the profile I'm using (System Administrator), it made no difference i.e. the lead still came through as the wrong record type
- Then I remembered there was an assignment rule which changes the owner of the lead when created. So when I changed the default record type for the profile of new user to a different default, it did change the record type to that.