jfb-action-external-api

Read JetFormBuilder form data, call external APIs, and update form context.

21|1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill jfb-action-external-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jfb-action-external-api
Source: https://github.com/Lonsdale201/wp-agent-skills/tree/main/jetformbuilder/jfb-action-external-api
Command: npx skills add https://github.com/Lonsdale201/wp-agent-skills --skill jfb-action-external-api

SYSTEM DOCUMENTATION & REQUIREMENTS

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.

Frequently Asked Questions about jfb-action-external-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call an external API from a JetFormBuilder custom action?

To call an external API from JetFormBuilder, you can use a custom action that reads submitted form data via jet_fb_context() and securely posts it using the wp_remote_post WordPress HTTP API function.

How do I pass JetFormBuilder form data to a webhook and use the response?

Passing JetFormBuilder form data to a webhook involves reading the submission payload, sending it via wp_remote_post, and then writing the API response back into the form context to allow downstream actions to react.

Can I use macro replacement to inject form field values into external API requests?

Yes, macro replacement is supported inside admin templates to dynamically inject submitted field values into your external API request payloads, URLs, or LLM prompts before the HTTP call is dispatched.

How do I branch a JetFormBuilder action chain based on an external API result?

You can branch a JetFormBuilder action chain by dispatching outcome events based on the external API result, allowing the workflow to trigger different downstream actions depending on success or failure.

Does this approach support integrating LLMs and CRMs within JetFormBuilder workflows?

Yes, this approach supports integrating LLMs, CRMs, payment gateways, and geo-services within JetFormBuilder workflows by treating the external API call as a data-flow graph participant rather than a one-shot operation.