Automate Sending Emails for New Sales on Mercado Pago
IN THIS ARTICLE
If you use Mercado Pago to process payments, every confirmed sale usually triggers some kind of follow-up — a confirmation email to the customer, access to a product or course, a thank-you message, or an internal notification to your team.
Sending those manually for every transaction is slow and easy to miss.
In this guide, we'll set up an automation that sends a Gmail email every time a payment is approved in Mercado Pago. Follow the steps below to set it up.
Connecting the apps
The first step before creating any automation in Albato is to make sure the apps we will use are connected to our platform.
In this example, we will use the Mercado Pago app and Gmail.
If you don't have the connections created yet, go to the Apps tab on the platform, click to add a new connection, and then search for the apps.
Once you have created the connection correctly, we will be ready to create the automation.
Creating the automation
To start, go to the Automations tab and then click Create new automation.

On the new screen, click Step 1 (Trigger).

This will be the trigger of your automation. In other words, the action that must happen in a certain app for the data to be collected and later sent to the other desired app.
In this case, our trigger will be Payment Approved from Mercado Pago.
Choose this option on the screen that appears and click Continue.

Next, to ensure that all records are saved in Mercado Pago, we will add a Create Customer step.
This will help us keep control and automatically add a new customer to your Mercado Pago account whenever a payment is approved.
Click on Step 2 to continue this process.

Now select the Mercado Pago app again, but this time the action Create Client and click Continue.

On the next step, fill in the fields you want.
These will be the fields associated with this new customer that will be created.
At this stage, you can manually type fixed values that will apply to all new customers, or click each field and choose dynamic values from a list that appears.
This means the data collected in the Payment Approved trigger will be used to create your new customer, as shown in the example below.

Remember that the email field will always be mandatory.
Finally, let's configure the email notification sending step.
As mentioned before, we will use a connection with Gmail for this action.
To do this, click + and then Action to add a new step.

Select the Gmail app and as the action, Send an email.

Fill in all the mandatory fields, and if you wish, also the optional ones such as email subject, copies, etc.
In the Email Body field, write the message you want to send. This will be the text your customer receives as soon as the purchase is completed.

If you want to use an email in HTTP format, you can select this option in the related field and add the desired HTTP in the text field.

After configuring all fields, click Save and then start your automation.

Now you have your automation created and ready to test.
Wait for a new payment to be approved in Mercado Pago and check if everything worked as expected.
Did this answer your question?