For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use Ask n8n AI

Ask n8n AI helps you build, debug, and optimize your workflows. From answering questions about n8n to providing help with coding and expressions, Ask n8n AI supports you as you navigate n8n's capabilities.

Ask n8n AI is n8n's built-in help assistant and is no longer actively developed. To build, edit, and run workflows from a chat, see Use AI Assistant (Preview).

Current capabilities

Ask n8n AI offers a range of tools to support you:

  • Debug helper: Identify and troubleshoot node execution issues in your workflows to keep them running without issues.

  • Answer n8n questions: Get instant answers to your n8n-related questions, whether they're about specific features or general functionality.

  • Coding support: Receive guidance on coding, including SQL and JSON, to optimize your nodes and data processing.

  • Expression assistance: Learn how to create and refine expressions to get the most out of your workflows.

  • Credential setup tips: Find out how to set up and manage node credentials securely and efficiently.

Tips for getting the most out of the Assistant

  1. Engage in a conversation: Ask n8n AI can collaborate with you step-by-step. If a suggestion isn't what you need, let it know! The more context you provide, the better the recommendations will be.

  2. Ask specific questions: For the best results, ask focused questions (for example, "How do I set up credentials for Google Sheets?"). The assistant works best with clear queries.

  3. Iterate on suggestions: Don't hesitate to build on the assistant's responses. Try different approaches and keep refining based on the assistant's feedback to get closer to your ideal solution.

  4. Things to try out:

    • Debug any error you're seeing

    • Ask how to setup credentials

    • "Explain what this workflow does."

    • "I need your help to write code: [Explain your code here]"

    • "How can I build X in n8n?"

AI usage settings

Available in n8n v2.7.0 and above.

You can manage your AI usage settings by navigating to Settings > AI Usage in your n8n instance. Here, you can control what data is shared with Ask n8n AI.

These settings are only available to the instance owners and administrators, and will apply to all users on the instance.

ai_usage_settings.png

Toggle whether to share actual workflow data (like node names, parameters, and structure) with Ask n8n AI. Disabling this option will limit the assistant's ability to provide context-aware help based on your workflows.

Since access to workflow data is essential for the AI Workflow builder to function, disabling this option will also disable the AI Workflow builder feature.

Disable sending data

To stop sending actual data values to Ask n8n AI, turn off the Send actual data values checkbox on the AI Usage settings page.

FAQs

What context does the Assistant have?

Ask n8n AI has access to all elements displayed on your n8n screen, excluding actual input and output data values (like customer information). To learn more about what data n8n shares with Ask n8n AI, refer to AI in n8n.

Who can use the Assistant?

Any user on a Cloud plan can use the assistant.

How does the Assistant work?

The underlying logic of the assistant is build with the advanced AI capabilities of n8n. It uses a combination of different agents, specialized in different areas of n8n, RAG to gather knowledge from the docs and the community forum, and custom prompts, memory and context.

Last updated

Was this helpful?