Official documentation
How n8n fits the workflow
We use n8n to run RAG ingestion jobs, scheduled syncs and human approval loops. Model calls sit alongside ordinary workflow steps, each with a named owner and a logged review event.
How data moves through n8n
Starts in
Shared drive
Nightly schedule
- Sends: New PDFs and their source references
n8n, in the Aristral build
Extracts fields, checks confidence scores and keeps a dead-letter path
- Writes: Approved field values
Written to
Database
Where a person checks Low-confidence files wait in a review queue with their source reference.
How a typical build works
Typical pattern, not a client case
Trigger and fields: A Webhook node starts the workflow when an outside system sends an event. We check the event ID, record ID, event type and timestamp, pass on only the approved fields the next node needs, and validate required values before anything changes.
Authentication: Service credentials live in n8n credentials, using the type the app or HTTP Request node supports, with the smallest scopes the API provider allows. Webhook endpoints are protected with authentication where the node supports it.
Errors and retries: Nodes retry transient failures, and an error workflow or alert catches the ones that need attention. Execution data is reviewed before a write is retried, with an idempotency key or duplicate check where the destination supports it. See n8n’s Webhook node, credentials and error handling documentation.
Human approval: Uncertain matches and high-impact actions go to a person before the workflow updates a record or contacts anyone outside.
Test and limits: We test a valid event, missing fields, a duplicate event and an unavailable destination with test credentials and sample data. Node behaviour depends on the integration and n8n version, and permissions, rate limits and source data quality stay outside the workflow’s control.
Use cases for n8n
- Run a nightly document ingestion pipeline: pull PDFs from a shared drive, extract fields, check confidence scores and write approved results to a database. Failed files stay in a review queue with their source reference.
- Run human approval for AI-drafted emails. A draft and its confidence score go in; an approved send or a returned revision comes out. Expired approvals and provider errors raise an alert instead of sending.
- Schedule and retry API polling for lead enrichment. Cursor state and record IDs go in; enriched fields or a dead-letter item come out. Backoff and idempotency stop duplicate updates when an endpoint recovers.
When n8n is the right choice
n8n suits workflows that need branching logic, custom code, self-hosting or control over data flow. Compared with Zapier and Make, it asks more of your team on hosting, credentials and day-to-day ownership.
Related guides: n8n pricing and self-hosting costs in GBP · n8n vs Zapier vs Make
Scope and boundaries
- Supported: API workflows, webhooks, schedules, branching, code nodes, approvals and database operations. Not supported: production infrastructure without an agreed owner.
- Data and consent: the build covers hosting, credentials, retention and model-provider boundaries, with consent checks before any outbound message.
- Errors and retries: bounded retries, backoff, idempotency and a dead-letter path. Validation failures surface with the record's context.
- Handover: Aristral supplies documentation and a runbook. Your team owns hosting, credentials, source rules and operational response.
Typical implementation
- Week 1: define data flows, hosting, credentials, error states and approvals.
- Week 2: configure n8n and build the main workflow with test fixtures.
- Week 3: add code, retries, dead-letter handling, logs and access controls.
- Week 4: test normal, duplicate, delayed and rejected inputs.
- Week 5: deploy, monitor the first runs and hand over the runbook.
Frequently asked questions
Does n8n need to be self-hosted?
No. It can run in n8n's managed cloud or on infrastructure you control. The right option depends on your security, hosting and data requirements.
Can n8n call internal services?
Yes, once network access, authentication and a security review are in place.
What happens when it fails?
Retryable failures back off and try again. Permanent failures go to a dead-letter path for review.
Related tools
- Zapier integration
- Slack integration
- Python services
- Make integration