This tutorial shows how to connect a Replit app to an n8n workflow using a webhook so you can send and automate data from your app.
Notes:
- n8n does not have a native Replit integration, so this setup uses a webhook to receive data.
- You need an active n8n instance (cloud or self-hosted) with permission to create workflows.
- Always start “listening” in the webhook node before testing your Replit app.
- Open your n8n workspace and create a new workflow, then click a Webhook node.
- In the Webhook parameters pane, set the HTTP method to GET, and copy the webhook URL. Alternative, copy using “Listening.”
- Sign in at replit.com and type In the Agent prompt field, describe your app and mention n8n directly - for example: Build a contact form that collects user details and sends the data to an n8n webhook for automation. Include the n8n Webhook URL in the prompt. Click the Arrow button to run.
- The Agent generates your project files and creates a form that sends data to a webhook.
- In n8n, click Listen for Test Event on the Webhook node to start capturing incoming data.
- Open the Preview tab, submit the form, and test the data that appears in the n8n workflow execution panel.
.gif)
