Requirements
- n8n self-hosted or cloud, with MCP support enabled (or HTTP Request nodes for REST calls)
- An Audity Personal Access Token (
aky_...), see Authentication
Two paths
n8n can talk to Audity in two ways. The MCP path is recommended for AI Agent workflows; the HTTP path is fine for deterministic automations.A. MCP Client Tool (recommended for AI agents)
n8n exposes Audity tools to its AI Agent node via the MCP Client Tool sub-node.Add an AI Agent node
Add the AI Agent node (LangChain). MCP tools attach to AI Agents, not standalone workflows.
Attach an MCP Client Tool sub-node
On the AI Agent’s “Tool” input, click + and search for MCP Client Tool.
Get a Personal Access Token
Go to Settings → API Tokens in your Audity workspace and create a token with Read + Write scopes. It starts with
aky_ and is shown only once.Configure the MCP server
- Endpoint:
https://app.auditynow.com/api/mcp - Auth: Header Auth credential, header
Authorization, valueBearer aky_<your-token> - Save the credential in n8n’s credential store, not inline.
Verify tool discovery
Run the workflow once. The AI Agent should list Audity’s tools (
audity_list_projects, audity_enqueue_audit_analysis, audity_list_memories, etc.) in its execution preview. If it lists nothing, the connection failed; check Troubleshooting.B. HTTP Request node (deterministic workflows)
For workflows where you know exactly which endpoint to call:Add an HTTP Request node
- Method: per the OpenAPI spec (e.g.
POSTfor audit enqueue) - URL:
https://app.auditynow.com/api/...
Set authentication
- Authentication: Generic Credential Type → Header Auth
- Header Name:
Authorization - Header Value:
Bearer aky_<your-token>
Recipe: Daily Audity brief in Slack
Recipe: Auto-triage and convert qualified leads
- Writes: 20/min
- Job polling: 120/min
Recipe: Capture meeting notes from transcription service
Tips
- Store your token in n8n credentials, not node config. Credentials are encrypted; configs aren’t.
- Use one PAT per n8n instance so revocation only affects that instance.
- Wrap mutating workflows in error handlers that catch 429 and back off. Honor
Retry-Afterheader. - Use Sequential mode in Loop nodes for batch operations. Parallel mode trips rate limits fast.
Troubleshooting
MCP Client Tool can't connect to app.auditynow.com/api/mcp
MCP Client Tool can't connect to app.auditynow.com/api/mcp
Verify with
curl https://app.auditynow.com/api/mcp from the n8n host. If n8n is behind a corporate proxy, you may need an outbound firewall rule for *.auditynow.com.401 PAT_MALFORMED on every call
401 PAT_MALFORMED on every call
Check the header value. It should be exactly
Authorization: Bearer aky_<token>. If you have an extra Bearer (double prefix), fix it.403 PAT_SCOPE_INSUFFICIENT on writes
403 PAT_SCOPE_INSUFFICIENT on writes
Token lacks
write scope. Generate a new token with both read and write scopes, update the credential in n8n.429 with bursty Loop nodes
429 with bursty Loop nodes
Switch the Loop to Sequential, or add a Wait node between writes. Use async audit endpoint + polling, not synchronous calls.
HTTP node timeout on audit analysis
HTTP node timeout on audit analysis
A comprehensive audit synthesis runs ~10-15 minutes, longer than any sensible HTTP node timeout, and a request held that long can be cut by platform gateways with no indication whether the work completed. Don’t raise the node timeout; use the async endpoint (
POST /api/agent/projects/{id}/audit-analysis/async) + polling (GET /api/agent/jobs/{jobId}) instead.
