What problem does it solve?
JetFormBuilder needs a robust pattern to read submitted form data, pass it to external HTTP APIs, and return the results into the form workflow so downstream actions can react to API outcomes.
Core Features & Use Cases
- Read and normalize form data from the submission using the action context and input payload.
- Invoke external services via WordPress HTTP API (wp_remote_post) with proper timeouts, headers, error handling, and JSON payloads.
- Write API responses back into the form context for downstream actions and dispatch outcome events to branch the action chain.
- Support macro replacement inside admin templates to inject field values into requests and prompts.
- Use cases include LLM calls, CRMs, payment gateways, webhooks, or geo-services connected within JetFormBuilder workflows.
Quick Start
Create a custom JetFormBuilder action that reads a form's data, posts it to an external API, and stores the response back into a specified field, then dispatches success/failure events based on the API result.