Actions95
- Bot Actions
- Chat Actions
- Chat Member Actions
- Custom Property Actions
- Draft Actions
- File Actions
- Form Actions
- Group Tag Actions
- Message Actions
- OAuth Actions
- Profile Actions
- Reaction Actions
- Read Member Actions
- Search Actions
- Security Actions
- Task Actions
- Thread Actions
- User Actions
Form → Create
AI-generatedSummary
Creates a Pachca modal form using a button press trigger ID. Define the form with the visual builder or provide blocks as JSON; optional fields configure submission metadata and button labels.
Inputs
- Title (required) — Form title shown in the modal.
- Type (required) — Opening method; the available choice is Modal.
- Trigger ID (required) — Unique ID from a button press event, such as an outgoing webhook. It expires after 3 seconds, so use it promptly.
- Additional Fields — Optionally set a Callback ID and private metadata sent to your application when the form is submitted, plus close and submit button text.
- Builder Mode — Choose Visual Builder to configure blocks in the node, or JSON to supply the form blocks or full form JSON.
- Form Blocks — In Visual Builder mode, add sortable blocks such as text inputs, choices, date or time pickers, file uploads, headers, markdown, and dividers. Configure block-specific labels, names, options, validation, and defaults as applicable.
- Blocks (JSON) (required) — In JSON mode, paste an array of blocks or full form JSON. This field is shown instead of the visual builder fields.
Output shape
A single API response item containing the created form data.
The source pack shows this operation routes the request to the API and returns its response; the exact response fields are not specified here.
Examples
Example 1: Create a vacation request form
Set the title to “Vacation request,” use a fresh trigger ID from a button press webhook, and add text, date, or other blocks in the visual builder. Optionally set a callback ID or private metadata to identify the submission.