Actions25
- Page Actions
- Subscriber Actions
Page → Set Bot Fields
AI-generatedSummary
Sets multiple bot fields on a ManyChat page.
Inputs
- fields (required) — Fixed collection of field definitions. Each field requires a fieldValue and optionally a fieldName or fieldId (use one). Maximum 20 fields allowed.
- fieldName — Field name. Use either Name or ID. Type: string, default: empty.
- fieldId — Field ID. Use either ID or Name. Type: number, default: null.
- fieldValue (required) — Field value. Type: string, no default, placeholder: 'value'.
- authentication (required) — Access token for API authentication.
- batching — Batching configuration: batchSize (number, default 50, -1 disables, 0 treated as 1) and batchInterval (number, default 1000 ms, 0 disables).
- allowUnauthorizedCerts — Boolean. Whether to accept the response even if SSL certificate validation is not possible. Default: false.
- proxy — String. HTTP proxy to use. Format: http://username:password@myproxy:3128. Default: empty.
- timeout — Number (ms). Time to wait for server response headers before aborting. Default: 10000.
Output shape
Not explicitly defined in the source or properties.
POST request to /fb/page/setBotFields with JSON body containing an array of field objects (each with field_id or field_name and field_value). Request options control batching, proxy, timeout, and SSL validation.
Examples
Example 1: Set a single bot field by name and value.
fields: [{ fieldName: 'custom_field', fieldValue: 'my_value' }]