Here is a real world scenario that you may have encountered: you use Salesforce to store your leads and contacts, but in order to get the highest deliverability possible for messages to those people, you don’t actually send the messages through Salesforce.
Unfortunately, this doesn’t work great with tracking bounces and having a fully accurate database, contributing to a wasteful cycle when you do try to email someone through the popular CRM tool, something that drives our Biz Dev lead Ryan O’Hara nuts.
But if you’re one of the many that use DynECT Email Delivery to achieve staggering deliverability heights and Salesforce as your primary CRM, we have the integration script for you to solve this conundrum and make your data more accurate.
The basic premise: when an email bounces, you want to have Salesforce updated, enabling you to run reports on all non-delivered email addresses and providing additional insight on whether a contact’s email has bounced before.
To accomplish this, we will take advantage of DynECT Email Delivery’s bounce handling service.
Step 1: Set up a php page that will verify a valid bounce and respond to Salesforce accordingly.
What this means is when the page is called, you’ll make a call back to our API to check if the email that was used in calling the php bounce page is, in fact, a bounced email. Once that has been verified, we will use Salesforce’s API to get the id of the contact associated with this email address.
Once we have that id, the scripts will simply update the contact by replacing the email address with a bounced one. In this case, we’ll use email@example.com.
Step 2: place this script on a publicly facing web server and then go to the Integration page in the DynECT Email Delivery web portal.
You will see a text box about halfway down the page that is used to put the full URL of the bounce callback. Simply enter the URL in the same format as the placeholder URL and save your updates.
Now when an email sent from that account bounces, your Salesforce contact record will be updated and the valuable time of your sales and marketing organizations aren’t wasted attempting to send emails to prospects who have no valid emails to send to.
With some tweaks to this script, you can take any action you want on bounced emails. Perhaps you want to build up a bad email list or update an internal contacts database. By allowing a script to run on your bounces, you get complete control of what makes the most sense to your organization to get the right contact information and eliminate the wrong stuff.