Gravity Forms is a builder inside WordPress. Pathline forms are HTML on your site that post into the same inbox as calls and texts. You do not rebuild the form field by field. You export the Gravity Form once, then let an AI coding agent do the conversion.
Two files go into the agent: the Gravity Forms JSON, and the access key instructions from your Pathline dashboard. That is the whole handoff.
Export the form from WordPress
In wp-admin, open Gravity Forms and go to Import/Export (sometimes labeled just Export). Choose the form you want to move. Download it.
You should get a JSON file. That file is the form: labels, field types, required flags, choices, confirmation copy. Keep it as-is. Do not tidy it by hand.
Export the form definition, not entries. Entry export is a spreadsheet of past submissions. You want the structure so the new HTML form can collect the same answers going forward.
Copy the access key rules from Pathline
In Pathline, open Forms → Access keys. Create a key for the domain where the new form will live, if you do not already have one. Then click Build with AI on that key.
Those instructions are the contract: submit URL, hidden access_key field, honeypot, allowed domains, and how field names show up in Messages.
Paste them into the agent as-is. Do not paraphrase.
Setup details live in the HTML forms docs if you want to read them yourself. The agent does not need you to.
Drop both into any AI coding agent
Open Cursor, ChatGPT, Claude, or whatever you already use to write code. Attach the Gravity Forms JSON. Paste the Pathline access key instructions. Tell it to rebuild the form as HTML that posts to Pathline.
The agent maps Gravity field types to native inputs, keeps your labels and options, and wires the POST to
https://api.pathline.io/submit. You get markup you can drop on a static page, in Web Studio, or next to WordPress.
JSON plus access key rules. The agent does the rest.
Review the HTML before you publish. Check field names, required fields, and that the form still asks for the same information. Then load it on an allowed domain and submit once. The entry should land in Messages.
Checklist
- In WordPress, open Gravity Forms → Import/Export (or Export).
- Select the form and download the JSON.
- In Pathline, open the key and click Build with AI on Forms → Access keys.
- Give both to an AI coding agent and ask it to rebuild the form as Pathline HTML.
- Publish, then submit a test from an allowed domain and confirm it in Messages.
You keep the questions you already wrote. Pathline keeps the conversation that starts when someone finishes the form. After that, the Gravity Form can stay as a backup or come down. New leads live with the rest of the work.
For conversion patterns once the HTML is live, see how to build highly converting interactive forms. For a product comparison, see Pathline vs Gravity Forms.