Streamline the marketing operations workflow by automating the campaign creation process within Salesforce. Allocadia can significantly reduce the amount of duplicate entry and manual work by passing campaign details directly to Salesforce to create new campaigns.
This method relies on Salesforce email services and the parsing of emailed campaign data from Allocadia. To complete this setup, you must be an Administrator of both Allocadia and Salesforce.
Allocadia - Creating your Email Action:
Follow the instructions in our Outbound Actions support article to create your new email action. The body of the email should include all of the fields that will be used in your Salesforce campaign. In order to easily parse the email, it is recommended that you have one field per line.
Salesforce - Create Inbound Email Handler:
In order to receive the email in Salesforce you must set up an inbound email handler Apex class and create a new email service.
Best Practice: We recommend using a dedicated email for the purpose of this automation. For example: Allocadia@salesforce.com.
- In Salesforce, click on Your Name -> Setup -> Develop -> Apex Classes
- Create a new Apex class in Salesforce that implements the Messaging.InboundEmailHandler interface (to implement this interface, you need to define a single method)
Salesforce - Setting up Your Email Service:
- In Salesforce, click on Your Name -> Setup -> Develop -> Email Services
- Click on New Email Service
- Enter a name for your Email Service and specify the Apex Class created above
Note: If you want to limit the addresses from which this service will receive emails, you can enter email@example.com in the Accept Email From field.
- Click Save and New Email Address
Salesforce - Email Address Settings:
- Fill in your required Fields
- Click Save and copy the email address that you just created
Allocadia - Editing Your Outbound Action:
- In Allocadia, edit the To: field to include the Salesforce email that you have just created
- Click Save