Skip to content
Browse documentation

Getting Started

Legacy agent handoff

Point a coding agent at inFlow's machine-readable trail to add a lead capture form to a website, and know what still needs a human.

Open Markdown
For the complete setup and testing workflow, read Website integration. Its ik_ integration key can cover several explicitly selected businesses, register approved domains, and read back exact test submissions. The fa_ workflow below remains available for draft-only authoring.

The prompt

If you're working with a coding agent (Claude Code, Cursor, or similar), give it this:

text
Add a lead capture form to my website using inFlow. Start by reading https://inflow.build/agents.txt

That file tells the agent what inFlow is, what it can and cannot do on your behalf, and where to go next. It does the same job for an agent that this documentation does for a person.

The machine-readable trail

inFlow publishes its documentation in a form an agent can follow without a person paraphrasing it. https://inflow.build/agents.txt is the entry point. https://inflow.build/skill/forms.md is the full form authoring workflow: key handling, the API, the publish handoff. Every article in these docs is also available as plain markdown by appending .md to its URL, for example https://inflow.build/docs/lead-forms.md.

The agent should read the catalog endpoint before writing a form definition, not invent field types from memory. It's told this in the skill file, but it's worth knowing if you're watching the work happen.

What the agent will ask you for

The agent cannot sign in as you or create an account for you. Depending on where you're starting from, it will ask for one of these:

SituationWhat to give the agentWhere to find it
No inFlow account yetNothing yet — it will send you to sign upinflow.build/register
Account, but no form yetA form authoring keyOpen any form editor, go to Settings, create an authoring key. The secret shows once.
Form already existsThe form's Connect linkOpen the form, click Connect, copy the agent link.

A legacy fa_ authoring key is a short-lived credential, 24 hours by default, up to 72. Its default scope permits creating forms and reading and editing only drafts that key created in one business. A key scoped to selected existing forms permits reading and editing those drafts, without creation. It cannot publish, delete a form, or read your leads. An ik_ integration key with form access can publish; see Website integration for its separate permissions and approval rules.

What stays a human action

With the legacy fa_ workflow, the agent builds a draft. The following steps remain a human handoff; ik_ integration keys follow the separate permissions described above:

  1. 1Review the draft in inFlow.
  2. 2Publish it from the dashboard.
  3. 3Register the site's domains under Environments, including localhost if you test there.
  4. 4Send a test submission and confirm it lands in Leads.
  5. 5Revoke the authoring key, or let it expire.
The site's domains must be registered in inFlow under Environments, including production, preview, and localhost. A submission from an origin that isn't registered is rejected. This is the most common reason a correctly built form returns a 403 once it's live.

When it's done

When you send the test submission, confirm name, email, and phone land in the contact fields rather than only in the response list.