Automation library · Chat assistants

Generate contextual recommendations from Slack with Pinecone

Started by an event in a connected app, and works across Google Drive, Google Sheets, Pinecone and Slack. It puts Azure OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 22 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: Azure OpenAIRetrieval

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 1Model 16Logic 1Service 4

The steps in the order they run, from what starts it.

  1. 1Slack TriggerSlack triggerStarts it
  2. 2Azure OpenAI Chat Model1Lm Chat Azure Open AiModel
  3. 3Embeddings Azure OpenAI2Embeddings Azure Open AiModel
  4. 4Get row(s) in sheet in Google SheetsGoogle Sheets ToolService
  5. 5Reranker Cohere1Reranker CohereModel
  6. 6Structured Output Parser1Output Parser StructuredModel
  7. 7Embeddings Azure OpenAI5Embeddings Azure Open AiModel
  8. 8Reranker Cohere3Reranker CohereModel
  9. 9Azure OpenAI Chat Model3Lm Chat Azure Open AiModel
  10. 10Structured Output Parser2Output Parser StructuredModel
  11. 11Azure OpenAI Chat ModelLm Chat Azure Open AiModel
  12. 12Structured Output ParserOutput Parser StructuredModel
  13. 13AI AgentAgentModel
  14. 14AI Agent1AgentModel
  15. 15Pinecone Vector Store2Vector Store PineconeModel
  16. 16Pinecone Vector Store5Vector Store PineconeModel
  17. 17AI Agent3AgentModel
  18. 18Auto-fixing Output ParserOutput Parser AutofixingModel
  19. 19Download fileGoogle DriveService
  20. 20Edit FieldsSetLogic
  21. 21Extract from FileExtract From FileService
  22. 22Send a messageSlackService

How it's built

Starts on
An event in a connected app
Steps
22
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets, Pinecone, Slack
Model
Azure OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own Google Drive, Google Sheets, Pinecone and Slack accounts, and a key for Azure OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Azure OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.