Professional Documents
Culture Documents
Guided Lab Exercise - Upload of Contacts From Google Sheets To Salesforce
Guided Lab Exercise - Upload of Contacts From Google Sheets To Salesforce
Guided Lab Exercise - Upload of Contacts From Google Sheets To Salesforce
Basic Phase
1) Introduction
In this guided lab exercise, you will create a recipe which will take the list of contacts from
Google Sheets and upload them to your Salesforce account. In Salesforce, this means storing
them as accounts and contacts. Accounts are companies that you're doing business with, and
contacts are the people who work for them.
2) Setting Up
1. Sign up for a Salesforce Developer Account at: https://developer.salesforce.com/signup
2. Create a Google Spreadsheet and name it as Contacts for Upload into Salesforce. Copy
the data in this document: https://bit.ly/2V5tboW and paste it into this Spreadsheet. If
you do not have a google account, create one at: https://drive.google.com.
1
3) Connecting your applications
6. Name the connection however you want. We suggest keeping it as unique as possible,
such as including your name in it. (e.g. John Smith Google Sheets Account)
8. You will be prompted to provide the credentials of your Google Drive account. Enter
your credentials and you will now be able to use this connection anytime to build
recipes in this Workato account. Select the App Connections tab again to create your
next connection.
2
Set up Salesforce connection
Follow the same steps as above to set up your Salesforce connection.
11. Name the connection however you want (e.g. John Smith Salesforce Account).
12. Keep the Sandbox input field: No, unless you are connecting to your own Salesforce
sandbox account.
14. Enter the credentials of your Salesforce account and you are now ready to build your
recipe.
3
4) Building your recipe
4
22. Next, you will be selecting the Google Sheets account which you have previously
connected to.
23. Select the trigger event as New/updated row in sheet in My Drive (Real Time).
24. Click Next to configure the trigger. Fill up the required input fields based on what you
have created in Step 2:
5
Spreadsheet Contacts for Upload into Salesforce
Sheet Sheet 1
Column to monitor All columns
(Note: Selecting this means the recipe will run
whenever there’s any changes in all existing
columns.)
6
26. On the left side of the recipe editor, click on the + button to add an Action in an app.
27. On the right side of the recipe editor, select Salesforce as the App and select the
connection which you have created earlier for Salesforce.
7
29. The following fields will have been pre-filled in your action:
30. Leave the rest of the optional input fields blank, except for Account Name. Click on the
Account Name field and the view (as shown in the screenshot below) will show up.
31. On the left of the screenshot above, you can find the Recipe data. This is where you can
find the output data from earlier steps to map to your current step. For Salesforce’s
account name, drag and drop Company from the Recipe data. Pay attention to ensure
that you are using Company from your step 1 output, which is the Google Sheet:
8
32. Close the view on the right and Save your recipe as a good practice.
34. Click in the Data field on the right. Select Account ID|Step 2 of the Salesforce action
output. Set the Condition to is not present. It should look like this:
9
35. Click your If condition row to close it. Your Actions should now look like the below:
38. For account name, drag and drop Company|Step 1 from the Recipe data on the left. Pay
attention that you are using Company from the step 1 output:
10
39. Close the view on the right and Save your recipe as a good practice.
40. Click the + at the bottom of your Action line and select Action.
41. Similar to what we have done previously, select Salesforce as the App and Search
records as the Action.
Note: If you cannot find the Email field, click on the Show optional fields at the top and
search for Email. Check the box beside Email and click on the Apply changes button at
the bottom.
11
43. Close the view on the right and Save your recipe as a good practice.
45. Click in the Data field and set it to the Contact ID|Step 5 of the Salesforce action output.
Set the Condition to is not present. It should look like this:
12
46. Close the view on the right.
48. Select Salesforce as the App and Create record (Contact) as the Action.
49. Fill in the following fields, paying attention to which output steps are being used:
Note: If you cannot find the fields above, click on the Show optional fields at the top and
search for the fields you need. Check the boxes and click on the Apply changes button at
the bottom.
50. Close the view on the right and Save your recipe as a good practice.
13
Final recipe workflow
This would be how your recipe should look like:
14
Test your recipe and make sure that Account and Contact have been created
51. Click on Test recipe on the top right corner which will run the recipe just once.
52. Log in to your Salesforce account. Click on the App Launcher icon at the top left hand
corner of the page as well as Accounts. Do the same for Contacts as well.
b. You should also see your new contact created with the appropriate fields filled:
54. Look at the jobs in your Jobs tab in Workato. You should see a new job created.
15
55. Click the Job ID link for the job. You may review the data in the audit trail (e.g. click the
trigger line/output tab and action line/input tab).
16
Customize your job table columns
You may have noticed that the job table which shows your instances of jobs run has some
information at the table level for each job. However the default information and format shown
may not be so useful to you, e.g.:
It is best practice to customize the job table columns to display meaningful data so you can
better understand your job runs at a glance.
58. Click the three dots at the top right of your job table and select Customize job table.
59. Configure the job table to show some useful data. For example, theName, Emailand
Company fields, as shown below. Do note that the new structure / fields will only be
populated for new runs of your jobs
17
60. The new structure / fields will only be populated for new runs of your jobs. Your job
table should now look like the below.
5) Congratulations!
You have successfully created a recipe to upload contacts from Google Sheets to your Salesforce
account. You may now proceed to submit your recipe.
18
6) Submitting your recipe
Once you have completed your recipe, please follow the steps below for submission:
A. Please insert the name of your company at the start of your recipe name: [Your
Company’s Name] Recipe Name.
Example: [Workato] Upload all contacts from the Google Spreadsheet into Salesforce
C. Click on “Start Quiz” and you will be prompted to submit your recipe link:
i. In your recipe page, click on Settings. Next, click on Sharing on the left hand side.
19
ii. You will now see your recipe link which contains the sharing token for private
sharing. It will look something like this:
https://www.workato.com/recipes/1282352?st=098450. Only people with this
link can view your recipe. Click on Copy.
20
iv. Click on Next Question and input the number of hours spent completing this
exercise. This information is solely to provide us with feedback.
v. Click on Next Question you can input any difficulties or feedback on the exercise:
vi. Thereafter, click on Submit Quiz and you are done! The Workato team will review
your submission and go through this during the upcoming lab hour.
21