Skip to main content
Best answer

How to track Facebook Ads ID from Facebook Messeger to Contacts in HubSpot?


Hi Community,

I need to track the exact Facebook Ads ID that a lead click and send messages to our Fanpage. How can Zapier help me in this? Can we have to set up workflows or something?

Best answer by pranayshindeBest answer by pranayshinde

You can try the following, you’ll have to test it.
 

1. Trigger: New Message in Facebook Messenger

  • App: Facebook Messenger

  • Trigger Event: "New Message"

2. Action: Find or Create Contact in HubSpot

  • App: HubSpot

  • Action Event: "Find or Create Contact"

    • Use the lead’s email or phone number (from the Facebook Messenger message) to find or create a contact in HubSpot.

    • Map the relevant fields (e.g., email, name) from the Messenger message to HubSpot

3. Action: Update Contact in HubSpot with Ads ID

  • App: HubSpot

  • Action Event: "Update Contact"

    • Add a custom property in HubSpot to store the Facebook Ads ID (e.g., "Facebook Ad ID").

    • Use Zapier to map the Ads ID from the Messenger message to this custom property.

If the Ads ID is not directly available in the Messenger data, you may need to use a Meta Conversions API integration to retrieve it, using the "Send Funnel Event" action in Zapier to capture the Ads ID when a lead interacts with your ad and again you will have map the Ads ID to a custom field in HubSpot (e.g., "Facebook Ad ID") during the Zap setup.

https://developers.facebook.com/docs/marketing-api/conversions-api/conversion-leads-integration/zapier/prerequisites/

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+5
  • New
  • 101 replies
  • Answer
  • January 13, 2025

You can try the following, you’ll have to test it.
 

1. Trigger: New Message in Facebook Messenger

  • App: Facebook Messenger

  • Trigger Event: "New Message"

2. Action: Find or Create Contact in HubSpot

  • App: HubSpot

  • Action Event: "Find or Create Contact"

    • Use the lead’s email or phone number (from the Facebook Messenger message) to find or create a contact in HubSpot.

    • Map the relevant fields (e.g., email, name) from the Messenger message to HubSpot

3. Action: Update Contact in HubSpot with Ads ID

  • App: HubSpot

  • Action Event: "Update Contact"

    • Add a custom property in HubSpot to store the Facebook Ads ID (e.g., "Facebook Ad ID").

    • Use Zapier to map the Ads ID from the Messenger message to this custom property.

If the Ads ID is not directly available in the Messenger data, you may need to use a Meta Conversions API integration to retrieve it, using the "Send Funnel Event" action in Zapier to capture the Ads ID when a lead interacts with your ad and again you will have map the Ads ID to a custom field in HubSpot (e.g., "Facebook Ad ID") during the Zap setup.

https://developers.facebook.com/docs/marketing-api/conversions-api/conversion-leads-integration/zapier/prerequisites/


  • Author
  • New
  • 1 reply
  • January 14, 2025

Thank you pranayshinde for your helful response,

My small question is: Which Zapier package/subscription do I have to purchase to do this? At what prices?

Thank you again.


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2259 replies
  • January 14, 2025

Hi ​@Miley,

 

Here is Zapier price plan: https://zapier.com/app/planbuilder/plans. You can choose which plan that will suit you. Thank you.