Skip to content
Pinecone

How to use Pinecone

Artificial intelligenceCost: 1 credit + 2 per runTechnical reference

What it is for

Manage vector databases, store embeddings, and perform similarity searches

Pinecone has no triggers: use it as an action in flows started by other apps, a schedule or a webhook.

Set up the connection

Authentication type: Custom credentials

  1. 1Sign in to Pinecone and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Pinecone step, click "Connect" and paste it into: API Key.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.
Connection fieldTypeRequired
API KeyLong textYes

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Index: fill in Index Name, Dimension, Index Type; use the data selector to map values from earlier steps.
  • Upsert Vector: fill in Index Name, Input Method; use the data selector to map values from earlier steps.
  • Update a Vector: fill in Index Name, Vector ID; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Actions (8)

Operations available as flow steps. Expand each one to see its fields.

Create Index17 fields
FieldTypeRequired
Index NameTextYes
DimensionNumberYes
Index TypeFixed listYes
Cloud ProviderFixed listNo
RegionTextNo
EnvironmentTextNo
Pod TypeFixed listNo
ReplicasNumberNo
ShardsNumberNo
PodsNumberNo
MetricFixed listNo
Vector TypeFixed listNo
Deletion ProtectionYes / NoNo
Wait Until ReadyYes / NoNo
Suppress ConflictsYes / NoNo
TagsJSONNo
Source CollectionTextNo
Upsert Vector7 fields
FieldTypeRequired
Index NameTextYes
Index HostTextNo
NamespaceTextNo
Input MethodFixed listYes
Vector IDTextNo
Vector ValuesList of valuesNo
VectorsList of valuesNo
Update a Vector8 fields
FieldTypeRequired
Index NameTextYes
Index HostTextNo
Vector IDTextYes
NamespaceTextNo
Vector ValuesList of valuesNo
Sparse IndicesList of valuesNo
Sparse ValuesList of valuesNo
MetadataList of valuesNo
Get a Vector4 fields
FieldTypeRequired
Index NameTextYes
Index HostTextNo
Vector IDsList of valuesYes
NamespaceTextNo
Delete a Vector8 fields
FieldTypeRequired
Index NameTextYes
Index HostTextNo
NamespaceTextNo
Delete ModeFixed listYes
Vector IDTextNo
Vector IDsList of valuesNo
Confirm Delete AllYes / NoNo
Metadata FilterJSONNo
Search Vectors12 fields
FieldTypeRequired
Index NameTextYes
Index HostTextNo
Top KNumberYes
NamespaceTextNo
Query MethodFixed listYes
Query VectorList of valuesNo
Query Vector IDTextNo
Sparse IndicesList of valuesNo
Sparse ValuesList of valuesNo
Metadata FilterJSONNo
Include ValuesYes / NoNo
Include MetadataYes / NoNo
Search Index3 fields
FieldTypeRequired
Search ModeFixed listYes
Index NameTextNo
Name FilterTextNo
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps