Documentation Index
Fetch the complete documentation index at: https://docs.auditynow.com/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- n8n self-hosted or cloud, with MCP support enabled
- 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 where you know exactly which endpoint to hit.A. MCP Client Tool (recommended for AI agents)
n8n exposes Audity tools to its AI Agent node via the MCP Client Tool sub-node. The node connects to an MCP server, enumerates available tools, and lets the AI Agent invoke them.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.
Configure the MCP server
- Endpoint:
https://docs.auditynow.com/mcp - Auth: Header Auth credential, header
Authorization, valueBearer aky_<your-token> - Save the credential in n8n’s credential store rather than inlining the token in the node config.
B. HTTP Request node (deterministic workflows)
For workflows where you know exactly which endpoint to call and don’t need an LLM in the loop:Add an HTTP Request node
- Method: per the OpenAPI spec (e.g.
POSTfortriggerAuditAnalysis) - URL:
https://app.auditynow.com/api/...(note: the API base isapp.auditynow.com, notdocs.auditynow.com)
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: 30/min (your conversion calls eat into this)
- Audit synthesis: 5/min (the limiting factor for fan-out)
Recipe: Capture meeting notes from a transcription service
Tips
- Store your token in n8n credentials, not in node config. Credentials are encrypted at rest; node configs aren’t.
- Use one PAT per n8n instance so revocation only affects that instance. If a workflow leaks, you revoke one token.
- Wrap mutating workflows in error nodes that catch 429 and back off. Don’t blindly retry,
Retry-Afteris in the response header. - For batch fan-out, prefer Sequential mode in the Loop node. n8n’s parallel mode will trip rate limits faster than you can blink.
Troubleshooting
MCP Client Tool can't connect to docs.auditynow.com/mcp
MCP Client Tool can't connect to docs.auditynow.com/mcp
Verify the endpoint with
curl https://docs.auditynow.com/mcp from the n8n host. If you self-host n8n behind a corporate proxy, MCP traffic may need an outbound firewall rule for *.mintlify.app and *.auditynow.com.401 PAT_MALFORMED on every call
401 PAT_MALFORMED on every call
Your header value probably has an extra
Bearer (i.e. you set the header name to Bearer Authorization, or the value to Bearer Bearer aky_...). The header should be exactly Authorization: Bearer aky_<token>.403 PAT_SCOPE_INSUFFICIENT on writes
403 PAT_SCOPE_INSUFFICIENT on writes
Token lacks
write scope. Generate a new token, 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 (~2s for writes, ~12s before each
triggerAuditAnalysis).Audit analysis HTTP node times out
Audit analysis HTTP node times out
The default n8n HTTP timeout is shorter than 300s. Set the node’s timeout to 360 seconds or higher; otherwise n8n will report failure even when the synthesis succeeds. Verify after the timeout with
GET /api/projects/{id}/audit-analysis before re-triggering.