Facebook Lead Ads Log(History) Data

My goal: Getting the lead data from the logs via API, to retry successfully ran scenarios again.
*It can be done with a regular webhook, also with other apps.

Steps taken: Tried to investigate every API endpoint and get the logs data, via “/hooks/${hookId}/logs/${logId}” I got the best result, but for facebook lead ads the data key is an empty json.

Can we start with a snapshot of your scenario and the configuration of the app module(s) you are using?

1 Like

Hi Alex, Thanks for the Reply, But honestly it’s a general question not related to a specific scenario setup…

The only thing is that the trigger is a new lead in Facebook Lead-Ads built in form.

When trying to pull logs history via any other webhook that was created on make not for facebook, the API endpoint iv’e used returns a “data” key with all the data of that log.
Just with facebook the data key is empty…

If it is an instant trigger that powers your scenario then you need to submit a form into the facebook lead which will send the payload to your webhook and then run the scenario in make which should process the webhook. Are you doing that?

1 Like

Hi again Alex, I think you may not get my question.
The scenario is working perfect, what I’m trying to get is the history log.
I’m trying to do it via the API.
so Far Iv’e managed to get history logs with the payload for any other webhook trigger, but not facebook leads ads.

was wondering if someone here could help.

Welcome to the Make community!

Make doesn’t have a module for this particular endpoint (Get Facebook Lead Ads Log).

If the external service has a Developer API Reference/Documentation then you should be able to integrate the endpoints in Make using the app’s universal module (Make an API call) or generic HTTP “Make a request” module.

You can also suggest for it to be made in the Idea exchange. Don’t forget to search for it first, just in case someone already suggested it, so that you don’t end up creating a duplicate.

If you need assistance in setting up the app’s universal module, or the generic HTTP module, please provide additional information about what you have tried with regards to the external service’s Developer API Reference – how you are setting the connection up, a link to the endpoint are you trying to connect to, and what errors you are encountering.

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!

2 Likes