AI Agent HUB icon

AI Agent HUB

Interact with AI Agent HUB - publish posts to Facebook, Instagram, LinkedIn, list connected accounts.

Leads → Create Form

AI-generated

Summary

Create a Facebook lead form on the selected Page, with the supplied questions, privacy policy URL, and optional thank-you page text. The questions field must contain valid JSON; invalid JSON causes the operation to fail.

Inputs

  • Facebook Account (required) — Select the Facebook Page where the form will be created.
  • Form Name (required) — Name of the new lead form.
  • Questions (JSON) (required) — JSON array of questions, each with type, key, and label. Supported types are FULL_NAME, EMAIL, PHONE, and CUSTOM. Defaults to full name, email, and phone questions.
  • Privacy Policy URL (required) — URL of the privacy policy.
  • Thank You Page Title — Title displayed after submission. Defaults to “Thank you!”.
  • Thank You Page Body — Text displayed after submission. Defaults to “We'll be in touch soon.”.

Output shape

A single form record per input item.

Returns the API response's form object when present; otherwise returns the full response. The operation creates the form on the selected Facebook Page.

Links

Discussion