Create & Update Leads, Contacts in Salesforce on Google Form Submission
If 'Create' service is selected
Create Account in Salesforce
Create Campaign in Salesforce
Create Contact in Salesforce
Create Library in Salesforce
Create Event in Salesforce
Create Lead in Salesforce
Create Opportunity in Salesforce
Create Order in Salesforce
and more
If 'Update' service is selected
Update Account in Salesforce
Update Campaign in Salesforce
Update Contact in Salesforce
Update Library in Salesforce
Update Event in Salesforce
Update Lead in Salesforce
Update Opportunity in Salesforce
Update Order in Salesforce
and more
You can integrate Google Forms with Salesforce using Form Director. Form Director enables you to connect Google Forms with Salesforce, allowing you to create & updates contacts, leads based on form responses.
When a user submits a Google Form, the responses are automatically sent to Salesforce, where contacts, leads are created & updated accordingly.
Form Director is a Google Workspace add-on that directs data submitted from Google Forms to applications like Google Docs, Forms, Sheets, Contacts, Calendar, Tasks, Email, Trello, Slack, QuickBooks etc.
Installation:
It is available in the Google workspace Marketplace.
Please check installation instructions to install the add-on.
Salesforce provides companies with an interface for case management and task management, and a system for automatically routing and escalating important events.
Choose Salesforce from the list of apps
Name your service
Choose Create under services
Login to Salesforce account using your username & password.
Follow the steps to enable the Saleforce API for your Organisation
Log In to your salesforce account.
Go to SetUp(top right corner).
Search for "Profile".
Click on New.
Provide "Profile Name" and click on save.
Go to "Administrative Permissions".
Mark the API Enabled check box.
Select the required objects.
Here we have selected Contact. So once the Google Form is submitted a Contact will be created in Salesforce.
Mapping of form fields to that of app fields is to be done in order to create contact with your form data.
Click on the add icon to add new mapping
Once you have done mapping you can save the service
Note : Mapping should be done between app field and form field of same type.
Notify your audience with success or error notifications.
Switch on Send Email to send email during execution.
Send your own customized emails on form submission to your audience.
Click Pick Drive Files to attach files to Email.
Add attachments from previous service results.
Select the required service result.
Save service
You are all set to create Lead on your Google Form submission
Submit the Google Form
Mention the service name.
Select the application as "Salesforce".
Select the service as "Update".
Authenticate with Salesforce.
Select the required entity.
Click Setup Mapping and setup the mapping.
Mapping of form fields to that of app fields is to be done in order to create items on form submission.
Click on the add icon to add new mapping
Once you have done mapping you can save the service
Note : Mapping should be done between app field and form field of same type.
Notify your audience with success or error notifications.
Switch on Send Email to send email during execution.
Send your own customized emails on form submission to your audience.
Click Pick Drive Files to attach files to Email.
Add attachments from previous service results.
Select the required service result.
Save service
You are all set to create Contacts on your Google Form submission.
Submit data in the Google Form.
What does the "invalid_grant" error with an expired access/refresh token indicate?
The "invalid_grant" error typically occurs when there are issues with the authentication process in Salesforce, specifically related to expired access or refresh tokens.
There are a few common causes for the "invalid_grant" error with an expired access/refresh token:
Exceeding Access Grants Limit:
Salesforce limits the number of access grants for a Connected App to 5 per user. If a user exceeds this limit, the oldest approval will be automatically revoked. For more information, check out this document: https://help.salesforce.com/s/articleView?id=sf.remoteaccess_request_manage.htm&type=5.
Immediately Expire Refresh Token" Enabled:
Solution: Ensure that the "Refresh token is valid until revoked" option is selected. You can find this setting in your Salesforce account under Apps → Connected Apps → Manage Connected Apps → {{YOUR APP}} → Edit Policies.
Make sure the Refresh token is valid until revoked is selected.