Package Information
Available Nodes
Documentation
Needle AI Integration for n8n
This package provides n8n nodes to interact with Needle AI - a powerful AI-powered information discovery and automation platform that helps you find information in seconds across all your connected data sources.
Features
- AI-Powered Search: Find information across all your connected data with references
- Collection Management: List, search, and add files to your Needle collections
- Semantic Search: Perform powerful semantic searches across your documents
- Seamless Integration: Easily connect Needle AI with your n8n workflows
In Your Own n8n Instance
# Navigate to your n8n custom extension directory (usually ~/.n8n/custom/)
cd ~/.n8n/custom/
# Install using npm, yarn, or pnpm
npm install @needle-ai/needle-n8n-nodes
# or
yarn add @needle-ai/needle-n8n-nodes
# or
pnpm add @needle-ai/needle-n8n-nodes
Usage
After installation, you can find the Needle node in the node panel by searching for "Needle".
Authentication
To use the Needle node, you'll need to create credentials:
- Get your API key from the Needle AI Dashboard
- In n8n, create a new credential of type "Needle API"
- Enter your API key in the credential form
Available Operations
The Needle node supports the following operations:
Collection Resource
- List: Get a list of all your collections
- Search: Search within a specific collection using natural language
- Add Files: Add files to a collection
Examples
Search a Collection and Process Results
- Add a Needle node to your workflow
- Select "Collection" as the resource
- Select "Search" as the operation
- Enter your Collection ID
- Provide a search prompt (e.g., "Find information about quarterly reports")
- Connect the output to other nodes to process the search results
Upload Files to a Collection
- Add a Needle node to your workflow
- Select "Collection" as the resource
- Select "Add Files" as the operation
- Enter your Collection ID
- Add file information (name and URL)
- Connect the output to see the upload results
Real-World Use Cases
Automated Support Workflow
- A new support ticket arrives
- n8n captures the customer's question
- Your workflow automatically adds or updates relevant documentation in Needle
- Needle searches your knowledge base for the perfect answer
- The information passes through an AI service for refinement
- A comprehensive response gets delivered to your support system, Slack, or email
Other Applications
- Streamline Onboarding: Help new hires find information without flooding Slack with questions
- Enhance Support: Automatically search documentation for every new ticket
- Empower Sales: Give your team instant access to the latest decks and pricing information
About Needle AI
Needle is your Knowledge Threading™ platform for work that helps you:
- Save time: According to McKinsey, employees spend 1.8 hours every day searching for information. Needle eliminates this waste.
- Connect your data: Quickly connect data sources like Google Drive, Dropbox, Confluence, and more.
- Get answers instantly: Say goodbye to communication bottlenecks and information silos.
- Build AI agents: Create powerful AI agents that interact with your data and automate sophisticated tasks.
With 10+ native integrations supported and enterprise-ready features, Needle helps you focus on what matters most.
Troubleshooting
- Error: Could not get parameter: Make sure all required fields are filled out correctly
- API Key is required: Ensure your credentials are properly configured
- At least one file is required: When using "Add Files" operation, you must provide at least one file
Support
For questions or issues with the node itself, please open an issue.
For questions related to the Needle AI platform, please contact [email protected].
Learn More
Check out our blog post about the n8n integration to learn more about how Needle and n8n work together to supercharge your workflows.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.