SalesforceとMetaコンバージョンAPIの連携イメージ
How to Integrate Applications

2024/12/03

How to send a conversion event with the Meta Conversion API when a lead is registered in Salesforce

t.aizawa

The integration of Salesforce and Meta Conversion API will be a useful tool in digital marketing.
With this integration, lead data is sent to the Meta Conversion API in a timely manner, which is expected to improve the accuracy of ad targeting. Additionally, advertisers can immediately optimize ad campaigns and use their budget efficiently, enabling more effective marketing activities.
This article provides a detailed explanation of the specific benefits and integration methods that can be gained by implementing this integration.

Recommended for

・Ad operators who want to improve targeting accuracy
・Companies that want to maximize the advertising effectiveness of Salesforce
・Companies that want to optimize advertising costs

Benefits and Examples of Integrating Salesforce and Meta Conversion API

Benefit 1: Improved Data Accuracy

By integrating Salesforce with the Meta Conversion API, conversion data is sent to the Meta Conversion API as soon as a lead is registered, which is expected to improve data accuracy.
To measure advertising effectiveness, it is necessary to manually collect and analyze data and update targeting, but this automation eliminates data delays and errors, reflecting the latest status in a timely manner.
For example, when a new lead is registered in Salesforce, the information is sent in a timely manner, potentially improving targeting accuracy.

Benefit 2: Approach Based on Customer Behavior

By using the Meta Conversion API to integrate with Salesforce, a personalized approach based on customer behavior data becomes possible.
Lead information registered in Salesforce is sent to the Meta Conversion API, and by tracking subsequent customer behavior (such as visiting specific pages or making purchases), advertisers can deliver ads tailored to the interests and needs of customers.
For example, if a lead is registered in Salesforce and then accesses a product page through a Meta Conversion API ad, the Meta Conversion API can track this behavior and deliver targeted ads again.
This approach, based on customer interests and behavior, is expected to improve ad click-through rates and conversion rates.

Benefit 3: Optimal Allocation of Advertising Budget

The integration of Salesforce and the Meta Conversion API will allow for more precise adjustment of advertising budget allocation.
Lead information registered in Salesforce is immediately reflected in the Meta Conversion API, which can potentially concentrate the budget on the most effective target segments based on that data.
For example, if the conversion rate is high in a specific region or industry, more advertising budget can be allocated to that area or industry. By using the timely conversion data provided by the Meta Conversion API, optimal budget allocation can be achieved even while the campaign is ongoing, reducing expenses and maximizing ROI.

From here, we will explain the specific setup steps for sending conversion events with the Meta Conversion API when a lead is registered in Salesforce using the no-code tool Yoom.

[What is Yoom]

How to Create a Salesforce and Meta Conversion API Integration Flow

Let's create a flow together using a template that sends conversion events with the Meta Conversion API when a lead is registered in Salesforce!

The template used this time can be copied by clicking "Try it" on the banner below.

Before Getting Started

The integration flow is broadly divided into the following processes.

・Register My App with Salesforce and Meta Conversion API
・Set up when a record is registered in Salesforce
・Hash text in collaboration with 0CodeKit
・Send conversion events in collaboration with Meta Conversion API

If you do not have a Yoom account, please issue an account from the "Yoom Account Issuance Page" below.
For basic operations of Yoom, please check "First Time with Yoom".

Yoom Account Issuance Page

First Time with Yoom

Now, let's get started together!

Step 1: Integrate My App with Salesforce and Meta Conversion API

(1) After logging into Yoom, select "My App" from the left column and click "+New Connection".

(2) Click Salesforce from the list of new connections in My App.
(3) The Salesforce login screen will appear.
Enter your "Username" and "Password" and click Login.


(4) Click "Allow" on the access confirmation screen.
For detailed My App registration in Salesforce, please refer to the following site.

Salesforce My App Registration Method

(5) Next, integrate 0CodeKit. 0CodeKit is used to hash text. Similarly, click 0CodeKit from the list of new connections in Yoom.
Move to the 0CodeKit screen, check the API key in your account, and click the copy mark on the right.


Return to the Yoom screen and enter the account name and access token.
Once the input is complete, click "Add".

(5) Next, integrate the Meta Conversion API. Similarly, click Meta Conversion API from the list of new connections in Yoom.
(6) From the "New Registration of Meta Conversion API (Facebook)" screen, enter the account name and access token, and click "Add".
For detailed My App registration method of Meta Conversion API, please refer to the following site.

Meta Conversion API (Facebook) My App Integration Method

Once the integration is complete, Salesforce and Meta Conversion API will be registered in Yoom's My App.

This completes the My App registration.
Next, let's set up triggers using templates!

Step 2: Setting Up When a Record is Registered in Salesforce

(1) We will use the template introduced earlier. Click "Try it" on the banner below to copy it.

Click on "When a record is registered" in the app trigger.

(2) From the "Select Integration Account and Action" screen in Salesforce, check that there are no errors in the account information to be integrated with Salesforce, keep the trigger action as "When a new record is registered in the lead object," and click "Next."

(3) From the "App Trigger API Connection Settings" screen, select the trigger activation interval.
Select the trigger activation interval from the dropdown menu with intervals of 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes.
※ Please note that the shortest trigger activation interval varies depending on the plan.

Scroll down, check the red line, and enter the maid main URL.
Once the input is complete, click "Test," and if no error occurs, click "Save" at the bottom.

Step 3: Integrate with 0CodeKit to Hash Text

(1) Next, integrate with 0CodeKit to hash text.
Click on "Hash Text."

(2) From the "Select Integration Account and Action" screen in 0CodeKit, check that there are no errors in the account information to be integrated with 0CodeKit, keep the action as "Hash Text," and click "Next."

(3) From the "API Connection Settings" screen, select the type of hash algorithm from the options.
Enter the string to be hashed in the message.
By selecting from the output as shown in the image, you can reference Salesforce information.

Once the input is complete, click "Test" at the bottom, and if no error occurs, click "Save."

Step 4: Integrate with Meta Conversion API to Send Conversion Events

(1) Next, integrate with the Meta Conversion API to send conversion events.
Click on "Send Conversion Events."

(2) From the "Select Integration Account and Action" screen in the Meta Conversion API, check that there are no errors in the account information to be integrated with the Meta Conversion API (Facebook), keep the action as "Send Conversion Events," and click "Next."

(3) From the "API Connection Settings" screen, enter the Pixel ID and Event Name.
・Pixel ID: Obtain from the Meta Conversion API data source and enter directly
・Event Name: Enter directly

Scroll down and enter the Event Time and Action Source.
・Event Time: Select from output
・Action Source: Select from dropdown

Other fields are not mandatory. Please enter the necessary fields.
Once the input is complete, click "Test" at the bottom, and if no error occurs, click "Save."
(4) Finally, click "Turn on Trigger."

This completes the flowbot "When a lead is registered in Salesforce, send a conversion event with the Meta Conversion API."

Other Automation Examples Using Salesforce and Meta Conversion API

At Yoom, we have other examples of automation using Salesforce and the Meta Conversion API, and we would like to introduce a few of them.

1. Send Conversion Events with Meta Conversion API When a Record is Registered in Google Sheets

By utilizing this flow, more effective marketing strategies can be implemented. Data that could not be captured through methods like offline events can also be sent, which is expected to improve ad performance.

2. Send Conversion Events Using Meta Conversion API with Google Form Content

By treating submissions from Google Forms as conversion events, it will likely become easier to accurately understand the effectiveness of Meta ads. This eliminates the need for data registration, reducing the burden on marketers and decreasing the risk of errors such as transcription mistakes and registration omissions.

3. Create a folder in Google Drive when an account is registered in Salesforce

By utilizing this flow, you can automatically create a folder for the account in Google Drive when an account is registered in Salesforce. This will help eliminate manual work, prevent omissions in folder creation, and avoid information scattering.

Additionally, if you want to check out templates using Salesforce or Meta Conversion API, please visit the following sites.

List of Flowbot Templates Using Salesforce

List of Flowbot Templates Using Meta Conversion API

Summary

By integrating Salesforce and Meta Conversion API, advertisers can achieve more accurate targeting, faster optimization of ad campaigns, and efficient budget allocation. With timely data updates and automated conversion tracking, marketing activities can be maximized, potentially improving ROI and reducing expenses. Incorporating this integration allows for a more effective approach based on customer behavior, which can help enhance ad performance.

The person who wrote this article
t.aizawa
I hope everyone's everyday work will be much easier! We will continue to send out information on improving work efficiency using Yoom!
Tags
Salesforce
Meta Conversion API
0CodeKit
Automation
Integration
App integration
No items found.
What is Yoom hyperautomation?
Conventional RPA can only automate simple repetitive tasks, and the setup process was very complicated.
With “hyperautomation,” which combines various technologies such as AI, API, RPA, and OCR, it is possible to automate many tasks that could not be realized until now more easily than before.
Don't Just Connect Apps—Automate Everything
Most tools simply connect one app to another, leaving the complex tasks to you. Yoom goes much further: From document creation and browser automation to OCR and generative AI, Yoom handles it all seamlessly in one platform.

Why settle for basic integrations? Streamline your entire workflow with Yoom’s powerful hyperautomation.
Learn more about Yoom
Helpful Materials
I understand Yoom! 3-piece set of materials
Download materials
Understand in 3 minutes! Yoom service introduction materials
Download materials
Find out by Before After! Yoom Case Study Collection
Download materials
See a list of useful materials