Skip to content

Connect

Connect a website

Every website or tool that sends submissions is a source. Each source has its own endpoint address, so you can pause or replace one without touching the others.

Your endpoint

Endpoint
POST https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEY

Add a source in the form's Connect tab or on the Sources page. Formera gives it a key, shows the full address with a copy button, and generates a snippet for its platform. New endpoint URL replaces the key: the old address stops working right away, so update your website at the same time.

Match the field names

Your website must send each answer under the key of its field. The Connect tab lists every name, its type and what it should look like. Answers with names the form does not know are still stored, and with Learn new fields automatically on, they are added to the form as new fields.

Platform guides

Webflow

Point a native Webflow form at your endpoint.

  1. In the Webflow Designer, select the Form Block and open its settings.
  2. Set Action to your endpoint URL and Method to POST.
  3. Give every input a Name that matches a field key listed below.
  4. Publish the site and send one test submission.

Framer

Send Framer form submissions to a webhook.

  1. Select your form in Framer and open the form's settings.
  2. Choose to send submissions to a webhook and paste your endpoint URL.
  3. Name each input after a field key listed below.
  4. Publish and submit the form once to see it arrive.

WordPress

Use the HTML snippet or your form plugin webhook.

  1. Add the HTML snippet below to a Custom HTML block, or paste the endpoint URL into your form plugin's webhook settings.
  2. Keep every input name exactly the same as the field keys below.
  3. Update the page and send one test submission.

Wix

Embed the HTML snippet with an Embed HTML element.

  1. Add an Embed HTML element where the form should appear.
  2. Paste the HTML snippet below into it.
  3. Publish the site and send one test submission.

Squarespace

Paste the HTML snippet into a Code block.

  1. Add a Code block to the page.
  2. Paste the HTML snippet below and save.
  3. Publish and send one test submission.

HTML form

Any website: set the form action to your endpoint.

  1. Set your form's action to the endpoint URL and its method to POST.
  2. Name each input after a field key listed below.
  3. Add a hidden _redirect input if visitors should land on your own thank-you page.

JavaScript or API

Send JSON from your app, backend or a custom form.

  1. Send a POST request with a JSON body to the endpoint URL.
  2. Use the field keys below as JSON property names.
  3. A 200 response means the submission was accepted and your flows are running.

Zapier or Make

Forward data from any app that Zapier or Make supports.

  1. Add a Webhooks step that sends a POST request at the end of your Zap or scenario.
  2. Paste the endpoint URL and map your data to the field keys below.
  3. Run it once to send a test submission.

Plain HTML

HTML form
<form action="https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEY" method="POST" enctype="multipart/form-data">
  <label for="email">Email</label>
  <input id="email" name="email" type="email" required>

  <label for="topic">What can we help with?</label>
  <select id="topic" name="topic" required>
    <option value="sales">Sales</option>
    <option value="support">Support</option>
  </select>

  <label for="brief">Brief</label>
  <input id="brief" name="brief" type="file">

  <!-- Where visitors land afterwards (optional) -->
  <input type="hidden" name="_redirect" value="https://yourcompany.com/thanks">

  <!-- Spam trap: keep it hidden and empty -->
  <input type="text" name="_gotcha" tabindex="-1" autocomplete="off" style="display:none">

  <button type="submit">Send</button>
</form>

After a classic form post, visitors go to the _redirect address, then the form's Redirect to setting, and otherwise back to the page they came from with ?submitted=1 added, so your page can show a thank you message.

JavaScript

JavaScript
const response = await fetch("https://switchyard-ccn.modulify.website/api/in/YOUR_SOURCE_KEY", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ email: "jane@example.com", topic: "sales", interests: ["speed", "price"] })
})

const result = await response.json()

if (!result.ok) {
  // result.message says what went wrong, in words you can show
}

Requests from browsers are answered with the CORS headers they need, as long as the page is one of the form's allowed websites. See Send a submission for every option.

Made with Modulify