Plai Trigger icon

Plai Trigger

Trigger workflow when a new lead is received from Meta, LinkedIn, or TikTok via Plai

Plai Trigger

AI-generated

Summary

Listen for new lead submissions from Meta, LinkedIn, or TikTok via Plai by automatically registering a webhook with Plai when the trigger activates.

Inputs

  • Event (required) — Select 'New Lead' to trigger the workflow whenever a new lead is submitted.
  • Platform (required) — Choose the advertising platform (Meta Facebook/Instagram, LinkedIn, or TikTok) to monitor leads from.
  • Page Name or ID — For the Meta platform, select the specific Facebook/Instagram page from which to receive lead events, either from a dynamically loaded list or by specifying an ID via expression.

Output shape

a JSON array containing data for the new lead event triggered by Plai.

This trigger automatically creates and removes the webhook subscription on activation and deactivation. The workflow activates when Plai sends a POST request with lead data to the registered webhook URL.

Links

Discussion