Amazon SES is an cloud-based email service from AWS. Simple Email Service (SES) offers tools for organizing various mailing lists. In this article, we will show you how to create a Facebook and Amazon SES integration to automatically send an email to each new lead from a social network.

Contents:
1. How to set up Facebook Lead Ads and Amazon SES integration
2. Connect Facebook Lead Ads account
3. Connect Amazon SES account
4. Enable auto-update
5. Conclusions

***

Amazon SES is a popular and highly scalable email management service. Using this platform, you can carry out various types of mailings (selling, content, transactional, service, reactivation). Amazon SES also allows you to process incoming emails, connect domains, perform analytics, and more. The reputation panel lets you track and respond to issues that affect email deliverability.

In this guide, we'll show you how to link your Facebook ad account and Amazon SES. Such integration will help automate several business processes:

  1. Sending an email to every user who filled out a lead form on Facebook or Instagram.
  2. Sending notification letters about new orders on social networks to your mailbox or company employees.

In the first case, integration solves the problem of a quick response to the activity of a potential client. The second option for using communication allows you to quickly deliver data to the responsible employee to increase the speed of lead processing. Naturally, these automated processes can be combined.

Facebook and Amazon SES integration | A letter about FB lead


How to set up Facebook Lead Ads and Amazon SES integration

We need to set up automatic sending of emails through Amazon SES with data obtained from the Facebook advertising account. To do this, you need to “make friends” between the two systems. One of the easiest solutions to this problem is to use the SaveMyLeads online connector. This service allows you to set up integrations for Facebook Lead Ads without special knowledge and involvement of programmers.

After we create the integration, the SaveMyLeads system will automatically upload new leads from the Facebook ad account, transfer them to Amazon SES, and initiate the sending of emails. By default, the Amazon SES service has a number of restrictions and mail can only be sent to verified mailboxes. This may be enough to transfer lead data to company employees (their mailboxes must be verified). But if the task is to send letters to all new Facebook leads, then you need the Amazon SES service status, which allows sending to any address.

Connect Facebook Lead Ads account

Let's take a closer look at the setup process. To get started, register on our website and go to your personal account.

Click "Create connection".

Facebook and Amazon SES integration | Create connection


Select the setup template — “Amazon SES (Send Email)”.

Facebook and Amazon SES integration | Select the template


Click "Connect account Facebook".

Facebook and Amazon SES integration | Connect FB account


Log into your FB account.

Facebook and Amazon SES integration | Log in to FB


Click "Edit settings".

Facebook and Amazon SES integration | Click "Edit settings"


Select the advertising pages you want to work with in the SaveMyLeads system.

Facebook and Amazon SES integration | Select the advertising pages


All access checkboxes must be enabled.

Facebook and Amazon SES integration | Check access


FB account added to SML system, continue setup.

Facebook and Amazon SES integration | Continue setup


Select a connected Facebook account.

Facebook and Amazon SES integration | Select FB account


Define the ad page and lead form whose results will be uploaded. Click "Continue".

Facebook and Amazon SES integration | Define the ad page and lead form


Connect Amazon SES

Click "Connect account Amazon SES".

Facebook and Amazon SES integration | Connect account Amazon SES


To add an Amazon SES account to the SML system, we need to complete a number of fields. First, let's define the contents of the "Region" field.

Facebook and Amazon SES integration | The "Region" field


Log in to your personal Amazon account. In the upper right corner you can see the actual name of the region.

Facebook and Amazon SES integration | The actual name of the region


Go back to SaveMyLeads and set the "Region" field to the same value as your Amazon account.

Facebook and Amazon SES integration | Set the region


We have to fill in two more fields with keys. Go back to your Amazon account. Through the search bar, find and go to the IAM system.

Facebook and Amazon SES integration | Go to the IAM system


In the "Users" section, click "Add users".

Facebook and Amazon SES integration | Click "Add users"


Specify the user name, check the box "Access key - Programmatic access" and click "Next: Permissions".

Facebook and Amazon SES integration | Specify the user name


Now click "Create group".

Facebook and Amazon SES integration | Click "Create group"


Enter a group name. In the list of policies, find the item “AmazonSESFullAccess” and check it. Click "Create group".

Facebook and Amazon SES integration | Check item “AmazonSESFullAccess”


Click "Next: Tags".

Facebook and Amazon SES integration | Click "Next: Tags"


Click "Next: Review".

Facebook and Amazon SES integration | Click "Next: Review"


Click “Create user”.

Facebook and Amazon SES integration | Click “Create user”


The next window contains both keys that need to be transferred to the SaveMyLeads system. Copy the value in the "Access key ID" field.

Facebook and Amazon SES integration | Copy the Access key ID


Go to the SaveMyLeads system and paste the copied value into the “Access key ID” field.

Facebook and Amazon SES integration | Paste the Access key ID


Return to the Amazon workspace, click the "Show" button and copy the Secret access key.

Facebook and Amazon SES integration | Copy the Secret access key


Now in the SaveMyLeads system, fill in the “Secret access key” field and click “Save”.

Facebook and Amazon SES integration | Paste the Secret access key


The connected login appeared in the list of available ones. Select it.

Facebook and Amazon SES integration | Select Amazon SES account


Now create an e-mail on behalf of which the mailing will be carried out. Return to Amazon SES. We need a "Verified identities" section. Click "Create identity".

Facebook and Amazon SES integration | Click "Create identity"


In the “Identity type” field, select the “Email address” option. Specify the mail from which letters will be sent. Click "Create identity".

Facebook and Amazon SES integration | Select identity type and specify the mail


We need to verify the mailbox.

Facebook and Amazon SES integration | We need to verify the mailbox


Go to the mail, open the letter for verification and follow the link to confirm the mailbox.

Facebook and Amazon SES integration | Go to the mail and confirm the mailbox


The email address has been verified.

Facebook and Amazon SES integration | The email address has been verified


Return to SaveMyLeads. At this stage, you need to configure the fields that will be used to send emails. Set the sender to the mailbox you verified in Amazon SES above.

Facebook and Amazon SES integration | Set the sender mailbox


If you want to send emails to each new lead from Facebook, then in the “To: Email” field, you need to insert a variable with the email addresses of customers. To do this, click in the field and select the desired variable from the list. You can use the search bar.

Facebook and Amazon SES integration | Set the variable


If you want to send letters to your mailbox or a colleague's mailbox, then fill in the field with the addressee manually. Set up all the fields you need. Click "Continue".

Facebook and Amazon SES integration | Enter mailbox manually


In the next step, you can check the test data set that will be used to send the email. If you don't like something, click "Back" and make the necessary adjustments. If you are satisfied with the data set and format, click “Send test data to Amazon SES”.

Facebook and Amazon SES integration | Send test data to Amazon SES


Go to the mail specified as the addressee, check for a test letter and its contents.

Facebook and Amazon SES integration | Check for a test letter


Enable auto-update

Return to SaveMyLeads. The correctness of the connection has been checked, and now you need to enable auto-update of data. Click “Finish setup” — integration is activated.

Facebook and Amazon SES integration | Click “Finish setup”


If necessary, you can add the created connection to the group or change its name. To do this, go to the connection settings — “gear”.

Facebook and Amazon SES integration | The connection settings


Conclusions

In the SaveMyLeads system, we set up the integration of Facebook and Amazon SES. Using this connection, you can automate sending letters to new leads from FB, as well as promptly deliver order data in the form of a letter to company employees. SaveMyLeads offers a simple interface and dozens of ready-made templates for connecting Facebook Lead Ads to various applications. You can quickly, easily and independently implement automation and get rid of routine operations.