metaAds.listLeads lists leads captured by a lead form.
automations/meta-ads-list-leads.automation.ts
{ account } selects a static project account binding.
Returns { items, pageInfo } with attribution, capture time, and fieldData.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Lists leads captured by a lead form.
metaAds.listLeads lists leads captured by a lead form.
import { automation, onDashboardRun } from "automate.ax"
import { metaAds } from "automate.ax/meta-ads"
export default automation("List leads", () => {
onDashboardRun({ title: "List leads" })
const page = metaAds.listLeads({ formId: "form-id", pageId: "page-id" })
// Use page in the next advertising, reporting, or delivery operation.
})
{ account } selects a static project account binding.
Returns { items, pageInfo } with attribution, capture time, and fieldData.