Back to cheat sheet hub

n8n Cheat Sheet

A practical reference for building low-code QA and AI workflows in n8n, from triggers and APIs to AI agents and RAG.

Triggers and nodes AI workflows Integrations

n8n in One Line

n8n connects services and logic into visual automations that can run on events or schedules.

Trigger -> transform -> call service -> decide -> notify / store

Useful Core Nodes

These are the nodes QA teams reach for first.

- Manual Trigger
- Webhook
- HTTP Request
- Set / Edit Fields
- IF
- Code
- Merge
- Wait

HTTP Request Node

Most external integrations start here.

Use it for:
- Jira API
- GitHub API
- TestRail API
- Slack / Teams
- internal app APIs

Support:
- headers
- query params
- auth
- JSON body

Code Node

Use JavaScript to transform payloads when visual mapping is not enough.

return items.map(item => {
  return {
    json: {
      title: item.json.summary,
      priority: item.json.priority?.name ?? 'medium',
    },
  };
});

AI Agent Pattern

n8n can combine prompts, models, tools, and memory into agent workflows.

Trigger -> AI Agent
        -> LLM
        -> Tool nodes
        -> Memory
        -> Output / notification

RAG Pattern

Use vector stores when the agent needs project-specific context.

Documents -> embeddings -> vector store
Question -> retriever tool -> AI agent -> answer

QA Workflow Ideas

These are the highest-value automation patterns for QA teams.

- Jira ticket to test cases
- CI failure analyzer
- bug summary generator
- release checklist notifier
- AI-powered requirement triage

Credentials and Secrets

Workflow speed is not a reason to lower security hygiene.

- use credential store
- avoid hardcoded tokens
- keep env-specific secrets separate
- audit who can edit workflows

Reliability Tips

Good workflow design keeps failures visible and recoverable.

- add retry logic
- branch on failure
- keep steps small
- inspect execution history
- alert on repeated failures