With the Agent002 Forms node

The community node n8n-nodes-agent002 adds an Agent002 Forms Trigger (a new response, with a form picker) and an Agent002 Forms node to read forms and responses.

  1. In n8n you host, open Settings → Community nodes → Install, and enter n8n-nodes-agent002.
  2. In Agent002, make a key under Connections → API keys (owners, on the paid Business plans).
  3. In a workflow, add Agent002 Forms Trigger, create a credential with the key, and pick the form.
  4. Activate the workflow. It appears under the form’s After sending; deactivating it removes it.

Each answer is at {{ $json.answers["Question label"] }} as text, or by key at {{ $json.submission.answers.your_key }}. On n8n Cloud, community nodes need n8n’s approval first: until then, use a Webhook node as below.

With a Webhook node

  1. In n8n, start a workflow with a Webhook node. Set HTTP Method to POST.
  2. Copy its Production URL. (The Test URL only works while n8n is listening in the editor.)
  3. In Agent002, open your form, go to After sending → Emails, PDFs and connections → Webhook, paste the address and choose Add.
  4. Activate the workflow in n8n, then use Send a test in Agent002. The execution appears in n8n.

Use the answers

  • Each answer is at {{ $json.body.submission.answers.your_key }}, by question key.
  • $json.body.fields lists every question with its label and a readable text: handy for an email or a Slack message.
  • Tests have event set to submission.test. Add an If node to skip them if you like.

In the Webhook node, turn on Raw Body. Then compute an HMAC-SHA256 (Crypto node) of the X-Agent002-Timestamp header, a dot and the raw body, with your signing secret as the key, and compare it with the X-Agent002-Signature header (after sha256=). Details and code are in the webhooks guide.

Return a 2xx answer quickly (the default Immediately response is fine). If n8n is down, Agent002 retries for about 15 hours.