Open: Stacklar -> Edit Form -> Submit action: Webhook
Connect and Configure: Webhook Request Options
- Select the Submit block, add Webhook, and enter the Webhook URL.
- Choose POST, PUT, or PATCH. Add Headers when the receiver requires them, and enter Secret only when it accepts the X-STACKLAR-Webhook-Secret header.
- Choose Structured packet, Fields only, or Custom mapping. For Custom mapping, add each payload key and its form field or static value.
- Choose whether to include request details and file summaries, set Timeout, and configure automatic retry with Max attempts.
- Submit fake data to a test endpoint before replacing it with the production URL.
Connection and Mapping Options
- Webhook URL and Method: Set the receiver endpoint and POST, PUT, or PATCH.
- Headers and Secret: Add optional headers and an X-STACKLAR-Webhook-Secret value.
- Payload: Uses Structured packet, Fields only, or Custom mapping.
- Include request details and Include file summary: Control optional metadata without sending file binaries.
- Auto retry failed deliveries and Max attempts: Configure automatic retry for failed requests.
Test the Action
- The test endpoint receives the selected method, headers, and payload.
- The payload contains only the fields and metadata you enabled.
- Stacklar -> Webhook Logs records the delivery status and attempt count.
Frequently Asked Questions
Where do I open these settings?
Open Stacklar -> Edit Form -> Submit action: Webhook.
What should I verify after making changes?
The test endpoint receives the selected method, headers, and payload.
Related Guides
Official reference: WordPress HTTP API documentation.