Pinecone integration
Connect Pinecone to Softr and create indexes, upsert raw text records and search them with natural-language queries from workflows and agents with an API key.
Pinecone is a vector database with integrated embedding. Use Pinecone actions in Softr workflows and agents to create indexes, upsert raw text records, and search with natural-language queries.
Connect Pinecone
- Open your Softr app and go to Workflows.
- Create a new workflow and add a Pinecone action.
- Open the Pinecone console and copy your API key from Project → API Keys.
- In the Account field, connect your Pinecone account and enter Your Pinecone API key, which starts with
pcsk_. - Configure the action inputs, such as the index, records or query text.
- Save and publish the workflow.
Use cases
| Use case | What it does |
|---|---|
| RAG over your knowledge base | Upserts document text into Pinecone, then searches for context to ground an AI assistant’s answers. |
| Semantic search for help articles | Indexes support content and shows the closest matches when a user submits a support form. |
| Personalized recommendations | Upserts profile or item text, then searches for the most similar items, products or users. |
| Duplicate detection | Searches for near-duplicate records before adding a new one to a database. |
| AI-powered tagging | Searches records by similarity to known categories and assigns tags. |
Use Pinecone in workflows and agents
Workflows and agents can create and manage Pinecone indexes, upsert text records, and search them with natural-language queries.
Actions

| Action | What it does |
|---|---|
| Create index | Creates a serverless index with integrated embedding using a chosen model, cloud (AWS, GCP, or Azure), and region. You can also set deletion protection and tags. |
| List indexes | Lists every index in the connected Pinecone project. |
| Describe index | Gets full details for a single index, including its data-plane host, to check readiness or confirm configuration. |
| Delete index | Permanently deletes a Pinecone index. Pinecone rejects the deletion if deletion protection is enabled. |
| Upsert records | Inserts or updates up to 96 raw text records per request and embeds them server-side. Each record requires _id and chunk_text, with extra keys stored as metadata. |
| Search records | Searches an index with natural-language query text embedded server-side and returns 1 to 10,000 top results (default 10). You can filter by metadata and choose returned fields. |
Good to know
- Supported embedding models for Create index are
multilingual-e5-large(dense),llama-text-embed-v2(dense), andpinecone-sparse-english-v0(sparse), and the model sets the distance metric automatically. - Index names are normalized to lowercase alphanumeric characters and hyphens, up to 45 characters.
- Upsert records requires a non-blank
chunk_textfield and a unique string_idfor each record. - Indexes created in Softr use
chunk_text, while indexes created in the Pinecone console or SDK default totext. For those indexes, set the text field of the field map tochunk_text, or upserts fail validation. - Pinecone embeds your text records and search queries server-side, so you do not supply vectors.
- Combine Pinecone with AI actions to build retrieval-augmented generation (RAG) pipelines.
- Extra keys on a record are stored as metadata. For example, a record can look like this:
[
{ "_id": "rec1", "chunk_text": "Hello world", "category": "greeting" }
]- The
filterandfieldsinputs in Search records apply to extra metadata keys stored beyond_idandchunk_text.
FAQ
Where do I find my Pinecone API key?
Open the Pinecone console and copy the key from Project → API Keys. It starts with pcsk_.
Do I need to create embeddings myself?
No. Pinecone embeds your text records and search queries server-side with the model of your index.
Why does my upsert fail on an index I created in Pinecone?
Indexes created in the Pinecone console or SDK default to a text field. Set the text field of the field map to chunk_text, or create the index with the Create index action.
Why was my index deletion rejected?
Pinecone rejects Delete index when the index has deletion protection on. You set deletion protection when you create the index.