Completing (fillout and submit) a website contact form

How to Automate to complete (fillout and submit) a website contact form?

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hello @Ian.H

Perhaps it is not possible to automate a form filling, as this would be more of an RPA activity.

Hello @Ian.H on a website, if you can add in code, you could on the submit button add a post request to a webhook, and then in n8n, start the workflow with a webtook trigger.

If you want to make an automation to fillout and submit the website form, that’s more complicated and could hit website rate limits.

Hi @Ian.H Welcome!
There are 2 approaches for solving this problem, either to use a very straightforward way which really does not need any technical knowledge which if using n8n forms:

These are highly useful and really easy to setup, so let me show you an example below of a customer coming in for contact using form:

This is a very simple approach which takes some basic standard inputs from FORM which you can embed on your website using iframe html tag and this is very easy and will be able to handle a lot of easy tasks, but a drawback here is that every time someone loads up your website this form will be called inside the iframe which means the n8n instance will be requested a lot more times which is really not economically wise as it is going to cost you unnecessarily.


Here comes the 2nd approach which is using Webhooks which are really nice but require a bit of technicalities as creating them is super easy in n8n but setting them up on your website might require chatGPT assistance

So an example of webhook call would be:

But you have to embed them in your website using javascript and have to create an HTML form to get them working, i made this for myself which is live at my website:

And these are pretty solid.