Skip to main content
The n8n-nodes-finalsay community package adds FinalSay nodes to n8n: create an approval, wait for the answer, or fetch a result, with AI Agent tool variants built in. You can also call the Agent API from an HTTP Request node.

Install

1

Install the package

In n8n, open Settings → Community nodes → Install and enter n8n-nodes-finalsay. Or, on a self-hosted instance, run npm install n8n-nodes-finalsay in ~/.n8n/nodes and restart n8n.
2

Add credentials

Create a FinalSay API credential and fill in API Key: a workspace API key from the web dashboard. n8n tests it by listing your agents.
3

Pick an agent per node

Each FinalSay node has an Agent dropdown, filled from your key. One credential works for every agent.
The nodes call https://api.finalsay-hitl.com. Leave the credential’s Base URL as it is; change it only to test against another FinalSay API, such as a local one.

Nodes

FinalSay: Wait for approval

Creates an approval with callback.url set to the execution’s resume URL, then pauses the workflow until FinalSay posts the result (someone answered, or it expired). The simplest way to put a human step in a workflow.
  • Feed it one item per execution.
  • Output:
  • An approval nobody answers still continues the workflow, with status: expired.
  • Callback security: None, or Secret header if you turned on Callback security for the agent; see below.
  • If FinalSay’s answer never reaches n8n (for example, n8n was down), the node stops waiting 5 minutes after the approval expires and continues with its input item unchanged, like n8n’s own Wait node.
  • Each Wait node only continues with the answer to its own approval. All Wait nodes in a run share one resume URL, so the node tags it with the approval’s request_id; a late answer meant for an earlier Wait node is acknowledged and ignored.
Debug with full workflow runs: partial executions change $execution.resumeUrl, as with the built-in Wait node.

FinalSay: Create approval

Creates an approval and continues immediately. With Send the answer to a URL on (the default), FinalSay posts the answer to {{ $execution.resumeUrl }}, which continues an n8n Wait node later in the workflow, or to a URL you set, such as a Webhook node in another workflow. Turn it off to read the answer with Fetch result instead.

FinalSay: Fetch result

Reads an approval by request_id: status: pending until someone answers or it expires, then the result, with answer like the Wait node.

Fields

The create nodes share these fields: Everything else is optional, under Options → Add option:

AI Agent tools

FinalSay: Wait for approval can be used as a tool, so n8n also registers two variants for the AI Agent:

How the gate answers

The HitlTool always asks with two choices, Approve and Reject, so it has no Answer choices field. The answer decides whether n8n runs the gated tool: On self-hosted n8n (1.79 or later), set N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true so community nodes can be used as tools, and restart n8n. To gate a call to a different MCP server, wire FinalSay: Wait for approval → IF on answer → n8n’s MCP Client Tool.

Securing the Wait resume URL

Anyone who has an execution’s resume URL can resume it, unless the Wait step checks a secret. FinalSay can send one with every callback:
1

Generate the secret in FinalSay

In the web dashboard, open the agent → Callback security. Keep the header name X-FinalSay-Callback (or set your own) and click Generate secret. Copy it; it’s shown once.
2

Require it in n8n

On FinalSay: Wait for approval, set Callback security to Secret header and create a Header Auth credential with the same header name and the secret as its value. (With your own Wait node, set its Authentication to Header Auth the same way.)
FinalSay adds the header on the server when it delivers the result, so the secret never appears in workflow JSON or exports.

Troubleshooting 403 on the resume URL

  • No secret configured. FinalSay only sends the header after you Generate secret on the agent. If Secret header is on in n8n but there’s no secret in FinalSay, n8n rejects the callback.
  • Name or value mismatch. Use the same header name and paste the generated secret. After Rotate secret…, update the n8n credential.
  • Your own Wait node. With FinalSay: Create approval and n8n’s Wait node, leave the Wait node’s IP(s) Allowlist empty (FinalSay doesn’t call from fixed IPs) and Ignore Bots off.
Check the agent’s attempts on Delivery health to see the status n8n returned.

Using the HTTP Request node instead

For full control, call the API directly:
  1. POST https://api.finalsay-hitl.com/v1/approvals with headers X-Agent-Id, X-Api-Key and Content-Type: application/json, and a JSON body (fields). Set callback.url to {{ $execution.resumeUrl }}, then add a Wait node (On Webhook Call).
  2. Or poll GET https://api.finalsay-hitl.com/v1/approvals/{request_id}/result with a Wait + loop until status isn’t pending.