- Integrations
- /
- Pinecone
- /
- Actions
- /
- Query Pinecone Vectors
ActionPineconeUpdated May 2026
How do I run k-NN search in Pinecone?
Short answer: Drop the "Pinecone → Query Pinecone Vectors" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Query Vector (JSON array) vector | string | Required | The embedding vector to search with |
Top K topK | string | Required | Number of nearest results to return |
Namespace namespace | string | Optional | Namespace. Example: default |
Include Metadata includeMetadata | options | Optional | Include Metadata. Options: Yes, No |
Sample request
{"vector": "[0.1, 0.2, 0.3, ...]","topK": "10","namespace": "e.g. default","includeMetadata": "{{trigger.includeMetadata}}"}
Returns
{"matches": [{"id": "doc1","score": 0.95,"metadata": {"text": "Relevant document text..."}}],"namespace": "default"}
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for Query Pinecone Vectors.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about Query Pinecone Vectors.
What does the Query Pinecone Vectors action do in Pinecone?
Returns top-k nearest vectors with scores and metadata, optionally filtered by metadata. The standard RAG retrieval call — fetch top vectors, pass metadata to LLM for grounded answers.
What inputs does Query Pinecone Vectors require?
Required: Query Vector (JSON array), Top K. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Pinecone returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Query Pinecone Vectors support batch operations?
Yes. Run Query Pinecone Vectors inside a Loop node to process arrays. Tiny Command handles Pinecone's rate limits automatically so you don't have to throttle manually.
More actions
Other Pinecone actions.
Action
Delete Pinecone Vectors
Removes vectors by ID list, by metadata filter, or by namespace. For "user churned → delete all their vectors" tenant-isolation workflows.
ActionDescribe Pinecone Index
Returns the index's dimension, metric, host, status. Useful for "is the index ready?" pre-flight checks before query workflows.
ActionDescribe Pinecone Index Stats
Returns vector count by namespace. Useful for capacity planning and for "did the bulk insert succeed?" post-operation verification.
ActionList Pinecone Indexes
Returns every index in the connected project. Useful for inventory and for resolving index names at workflow setup.
ActionUpsert Pinecone Vectors
Batch-inserts up to 100 vectors with metadata and namespace. For bulk ingestion >100, pre-batch upstream. The standard "embed content → index in Pinecone" step.
Send query pinecone vectors from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.