Skip to main content

How to get leads from Superfunnel to my backend

The SuperFunnel Webhook integration automatically sends lead data directly to your backend or database. When a visitor submits a form, a JSON payload with lead details is POSTed to your configured URL.

Updated over 2 months ago

Prerequisites

  • A SuperFunnel account.

  • A valid Endpoint URL on your backend to receive POST requests.

  • Access to server logs to verify incoming data.

Step 1: Access Webhook Settings

  1. Log in to your SuperFunnel Workspace.

  2. Navigate to Settings > Integrations in the left-hand menu.

  3. Click on the Webhook option to start configuring a new integration.

Step 2: Configure the Lead Webhook

To ensure you receive lead data correctly, configure the webhook settings as follows:

  1. Enter Event Name: Give your webhook a descriptive name (e.g., "New Lead Sync").

  2. Choose Event Field: Click the dropdown and select the event field associated with your form data.

  3. Select Event Type: Click the search menu. Instead of "All Events," search for and select New Lead (or Form Submit).

    • Note: Selecting "New Lead" ensures your backend only receives data when a user successfully completes a form, rather than every page view.

  4. Enter URL: Paste your backend endpoint URL into the URL field.

  5. (Optional) Select Page: If you want to limit leads to a specific landing page, select it from the Page Search Menu. Leave this blank to receive leads from all pages.

  6. Click Create to save and activate your webhook.

Step 3: Test the Connection

  1. Go to one of your published landing pages.

  2. Fill out the form with test data (e.g., [email protected]).

  3. Submit the form.

  4. Check your backend server logs or database.

  5. Verify that a POST request was received with the lead information.

Troubleshooting

  • No data received? Ensure that your Endpoint URL is publicly accessible and not blocked by a firewall.

  • Incorrect format? Review the JSON payload structure sent by SuperFunnel to ensure your backend is parsing it correctly.

  • Need help? Contact our support team at [email protected].

Did this answer your question?