OpenParable
Skip to content
← Back to skills

Routing Forms

Apps & Automation
routing-forms

Routing Forms is an Agent Skill for apps & automation published in the BuilderIO/agent-native repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

ChiliPiper-style pre-booking forms that route prospects to the right event type based on their answers.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/BuilderIO/agent-native/blob/HEAD/packages/scheduling/docs/skills/routing-forms/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/routing-forms, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Routing forms

Shape

  • Fields — text, email, phone, number, select, multi
  • Rules — ordered list of {conditions, action}
  • Fallback — action taken when no rule matches

Rule conditions

conditions: [{fieldId, op, value}, …] — all ANDed together. Ops:

  • equals, not-equals, contains, starts-with, in (value is array)

Rule actions

  • {kind: "event-type", eventTypeId, teamId?} → redirect to Booker
  • {kind: "external-url", url} → redirect off-site
  • {kind: "custom-message", message} → render message, no booking

Public URL

/forms/:formId renders the form. On submit:

  1. Walk rules in order; first match wins.
  2. If none match, use fallback.
  3. Record the response in routing_form_responses with matchedRuleId.
  4. If the action is event-type, redirect to Booker with prefilled name / email / custom-field values from the form answers.

Common tasks

UserAction
"Route enterprise prospects to Bob"create-routing-form with a rule matching company size → Bob's event type
"See submissions"list-routing-form-responses --formId <id>