/** * Facebook Trigger Node - Version 1 * Starts the workflow when Facebook events occur */ export interface FacebookTriggerV1Params { /** * Facebook APP ID */ appId?: string | Expression | PlaceholderValue; /** * The object to subscribe to * @default user */ object?: 'adAccount' | 'application' | 'certificateTransparency' | 'group' | 'instagram' | 'link' | 'page' | 'permissions' | 'user' | 'whatsappBusinessAccount' | 'workplaceSecurity' | Expression; /** * The set of fields in this object that are subscribed to. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ fields?: string[]; options?: { /** Whether change notifications should include the new values * @default true */ includeValues?: boolean | Expression; }; } export interface FacebookTriggerV1Credentials { facebookGraphAppApi: CredentialReference; } interface FacebookTriggerV1NodeBase { type: 'n8n-nodes-base.facebookTrigger'; version: 1; credentials?: FacebookTriggerV1Credentials; isTrigger: true; } export type FacebookTriggerV1ParamsNode = FacebookTriggerV1NodeBase & { config: NodeConfig; }; export type FacebookTriggerV1Node = FacebookTriggerV1ParamsNode;