/** * Action Network Node - Version 1 * Discriminator: resource=petition, operation=create */ interface Credentials { actionNetworkApi: CredentialReference; } export type ActionNetworkV1PetitionCreateParams = { resource: 'petition'; operation: 'create'; /** * Source where the petition originated */ originSystem?: string | Expression | PlaceholderValue; /** * Title of the petition to create */ title?: string | Expression | PlaceholderValue; /** * Whether to return a simplified version of the response instead of the raw data * @default true */ simple?: boolean | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** URL to this petition’s page on the Action Network or a third party */ browser_url?: string | Expression | PlaceholderValue; /** URL to this action’s featured image on the Action Network */ featured_image_url?: string | Expression | PlaceholderValue; /** Internal (not public) title of the petition */ name?: string | Expression | PlaceholderValue; /** Text of the letter to the petition’s target */ petition_text?: string | Expression | PlaceholderValue; /** Comma-separated names of targets for this petition */ target?: string | Expression | PlaceholderValue; }; }; export type ActionNetworkV1PetitionCreateNode = { type: 'n8n-nodes-base.actionNetwork'; version: 1; credentials?: Credentials; config: NodeConfig; };