To connect a trigger to Salesforce, you first need to set up a trigger. In this case we are going to use Gmail as the trigger. That means as soon as an email lands in Gmail, Stargate breaks it down and send the information to Salesforce.
Step 1: You need to click on the New action button to create a Salesforce action.
Step 2: Click on the Salesforce icon
Step 3: Select an event
Step 4: Select Add Account in the dropdown
Step 5: Authorize Stargate to use Salesforce
Step 6: Copy and paste the code to Stargate
Step 7: The Gmail and Salesforce fields are displayed. Drag and drop the fields to connect them.
Step 8: Click on Save to save the template to the server
Step 9: Click on Test this step to test