Facebook Lead Forms
Guide: Connecting Facebook Lead Forms to DM Champ via Automation
Overview
This guide walks you through integrating Facebook Lead forms with DM Champ using an automation platform (like Pably). This integration allows you to automatically add Facebook leads to your DM Champ campaigns.
Prerequisites
Facebook Ads Manager access
DM Champ account with API access
Automation platform account (e.g., Pably, Zapier, Make)
A DM Champ campaign (either Combined or Outgoing)
Step 1: Create Your Facebook Lead Form
Navigate to Facebook Ads Manager
Create a new lead form with the following requirements:
Important: Set phone number as a required field (not optional)
Configure other fields as needed
Step 2: Test Your Facebook Form
Go to
business.facebook.com/latest/instant_forms
Locate your newly created form
Click on the form, then click the "Test form" button
Keep this tab open - you'll need it later
Step 3: Set Up Your Automation Platform
Open your automation platform (e.g., Pably)
Create a new automation/workflow
Add Facebook Lead Ads as your trigger:
Look for "Facebook Lead Ads" integration
Select "New lead" as the trigger event
Note: You may need to try different Facebook integration options if the first one doesn't work
Select your Facebook page and the lead form you created
Verify the form name matches what you created in Step 1
Step 4: Test the Connection
In your automation platform, look for a button like "Test request" or "Wait for incoming response"
Return to the Facebook test form tab (from Step 2)
Fill out and submit the test form
The test data should appear in your automation platform
(Optional) Add a delay step to your automation if needed
Step 5: Configure DM Champ API Calls
You'll need to make two API calls to DM Champ:
API Call 1: Create Contact
Method: POST
Endpoint: https://api.dmchamp.com/v1/contacts?apiKey=YOUR_API_KEY
Headers:
Content-Type: application/json
Body:
{
"phone_number": "{phone_from_facebook}",
"email": "{email_from_facebook}",
"first_name": "{first_name_from_facebook}"
}
Map these fields from your Facebook lead form data. This call will return a contact ID.
API Call 2: Add Contact to List
Method: POST
Endpoint: https://api.dmchamp.com/v1/contacts/lists?apiKey=YOUR_API_KEY
Headers:
Content-Type: application/json
Body:
{
"contact_id": "{contact_id_from_previous_step}",
"list_id": "YOUR_LIST_ID"
}
Step 6: Get Your List ID
The list ID depends on your campaign type:
For Combined Campaigns:
Create and launch a combined campaign in DM Champ
The system automatically creates a list
Go to the Contacts page
Find your list in the left sidebar
Click on it to reveal the List ID
Copy this ID for your API call
For Outgoing Campaigns:
When creating an outgoing campaign, enable "Activate on new contacts added to list"
This ensures the opening message sends when new contacts are added
Use the list ID associated with this campaign
Step 7: Test and Publish
Test the entire flow using your own phone number
Verify you receive messages in DM Champ
Once confirmed working, publish/activate your automation
Important Notes
Always test with your own contact information first
The phone number field must be required in your Facebook form
Combined campaigns are recommended if you don't have an existing contact list
Replace
YOUR_API_KEY
with your actual DM Champ API key in both endpointsFor detailed API documentation, check the Help tab in DM Champ under "API"
Last updated
Was this helpful?