NEW Workflow v2 · the multi-agent verification layer is live
All apps

Needle

artificial intelligence 16 tools available

Needle provides retrieval-augmented generation (RAG) tools that enable semantic search across your data, facilitating the development of AI agents and applications.

About this integration

Connect Needle to Definable to route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas call Needle's 16 tools directly from chat or scheduled flows. Add it to your persona's available models and route requests to it where it fits best.

Connect Needle to Definable and it becomes a set of typed tools your agents plan with — triggered by events, run on schedules, or invoked mid-conversation. Every write is checked by the verifier before it lands.

Auth OAuth2 · 2 clicks
Tools 16 exposed
Plans All, incl. Free
Data Never trained on

Needle · in workflows

What teams actually run.

Three patterns teams run with Needle on day one. Each one is a plain-English prompt — no canvas, no glue code — and you can remix them into anything.

01

Multi-provider routing

Persona decides which model fits
Calls this provider when its strengths apply
Falls back to alternatives on rate-limits
02

Specialised pipeline

Use this provider for one stage
Pipe to a different model for the next
Combine outputs in the response

16 tools available

The Needle toolbox.

Every Needle capability your agents can call, each with a typed schema the planner reads. The router picks the right tool per step; the verifier checks the result.

Add files to a collection

Tool to add files to a collection by providing file URLs. Use when you need to add one or more files to an existing collection. URLs can be public or private (generated via the Files API).

Add Files to Local Connector

Tool to add files to a local connector by providing file metadata. Use when you need to add external files to a connector using their URLs.

Create Collection

Tool to create a new collection. Use after confirming the collection name.

Create Local Connector

Tool to create a local connector that monitors specified folders on a device. Use when setting up file indexing from a local machine into Needle collections.

Delete files from a collection

Tool to delete files from a specific collection by providing file IDs. Use after confirming valid file IDs to remove from the collection.

Delete files from local connector

Tool to delete files from a local connector by filename or file IDs. Use when you need to remove files from a connector's local storage.

Get Collection

Tool to retrieve details for a specific collection by its ID. Use when you need to get collection metadata including name, creation date, and search query count.

Get collection stats

Tool to retrieve statistics for a specific collection by its ID. Use when you need document count, index size, and timestamps after confirming the collection exists. Zero document count is a valid response for empty collections, not an error.

Get File Download URL

Tool to get a short-lived signed private download URL for a Needle file. Use when you need to retrieve file content but the public storage URL requires authentication. The returned URL should be used immediately as it expires quickly.

Get File Upload URL

Tool to get signed URLs for uploading local files to Needle. Use when you need to upload files to a collection. The upload URLs are valid for a short time, so upload files immediately after receiving the URLs. Multiple content types can be specified to generate multiple upload URLs in a single request.

Get local connector

Tool to retrieve details of a local connector by its ID. Use when you need information about a specific local connector's configuration, device details, and associated folders.

List Collection Files

Tool to list all files within a specific collection by its ID. Returns file metadata (including file URLs) only — not document text content; fetch file URLs separately to access content. Use when you have a collection ID and need to retrieve its files. Supports pagination.

List Collections

Tool to list collections. Use after authenticating with your API key to page through collections. Similar collection names can exist; always verify the correct `collection_id` from results before performing subsequent operations.

List Connectors

Tool to list connectors. Use to retrieve all configured connectors in your account.

List Local Connectors

Tool to list local connectors. Use to retrieve all local connectors configured in your Needle account.

Search Collection

Tool to perform semantic search within a specific Needle collection and return ranked results with source references. Use when you need to retrieve relevant content from a known collection using natural language queries.

See it run

One prompt, start to finish.

A real prompt, the Needle tools it calls, and what comes back. This is the whole interface — describe the outcome, agents handle the rest.

Run a real Needle task end-to-end — plan it, execute across the API, and hand back a verified result.

needle.add_files_to_a_collection Tool to add files to a collection by providing file URLs. Use when you need to add one or
needle.add_files_to_local_connector Tool to add files to a local connector by providing file metadata. Use when you need to ad
needle.create_collection Tool to create a new collection. Use after confirming the collection name. · verified
done

Done. Needle responded across 3 calls, the verifier signed off, and the result is logged with every payload.

FAQ · Needle

Questions, answered.

What teams ask before connecting Needle.

01 What can I automate with Needle on Definable?

Anything Needle exposes through its API. Common artificial intelligence workflows on Definable include route to the best model per task, mix providers in one workflow, fall back on rate-limits. Personas can call any of the 16 Needle tools directly, then chain the result into another integration without you writing code.

02 How does Needle authentication work?

Needle uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

03 Is the Needle integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 16 Needle tools. You only need a separate Needle subscription if Needle itself charges per seat or per API call.

04 Is using Needle through Definable secure?

Every call from a persona to Needle is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

05 How do I get started with Needle on Definable?

Sign up for Definable, open the integrations page, find Needle, and connect via OAuth or API key. You can immediately attach Needle to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

06 What Needle actions does Definable expose?

Definable exposes all 16 Needle actions as callable tools — including `Add files to a collection`, `Add Files to Local Connector`, `Create Collection`, plus 13 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Put Needle to work tonight.

Connect in two clicks, describe an outcome, and your first workflow is live in minutes. Free plan included — no card required.

← All apps