Knowledge and Slack: OTC Product Policy Lookup Template
A Slack webhook lets counter staff ask a retail or returns policy question, and a Knowledge node answers it with a cited reply posted straight back to the channel.
What It Builds
A Webhook trigger receives a slash-command or message-event payload from Slack whenever someone asks about over-the-counter product policy, returns, or pricing. A Knowledge node in Query mode searches your store policy collection and drafts a short, sourced answer. A Slack connector node in Direct mode then posts that answer back to the same channel so the whole team sees it.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow triggered by a Slack webhook when counter staff ask a question. Query my "store-policy" knowledge collection for the answer about OTC products, returns, or pricing, and post a concise reply back to the same Slack channel that includes the question, the answer, and which policy document it came from.
Connectors Used
- Webhook trigger - fires when Slack sends the staff member's question.
- Knowledge node (Query mode) - searches the store policy collection and returns a cited answer.
- Slack connector (Direct mode) - posts the reply to the channel.
Customize It
Change the collection name to match whichever policy documents you embedded in Spojit, point the reply at a fixed channel such as #front-counter, or tweak the wording so the reply always opens with the source document. You can also add a fallback line for when no policy matches, all by editing this one prompt.
Tips
- Embed your returns, pricing, and OTC handling policies into the Knowledge collection first so queries have something to cite.
- Use Direct mode on the Slack node when you only ever post a message: it runs the one exact tool with no AI cost.
- Keep this retail and admin only: store policy lookups, not clinical or patient advice.