How to Build an AI-Powered Slack Bot with Vincony API
Build a Slack bot that answers questions, summarizes channels, and runs AI tasks — all powered by Vincony's unified API.
Why Build an AI Slack Bot?
Your team already lives in Slack. An AI-powered bot brings code review, content generation, research, and analysis directly into your workflow — no context switching needed.
Quick Setup
import vincony
from slack_bolt import App
client = vincony.Client(api_key="YOUR_VINCONY_KEY")
app = App(token="xoxb-YOUR-SLACK-TOKEN")
@app.message("hey bot")
def handle_message(message, say):
response = client.chat.complete(
model="gpt-5",
messages=[{
"role": "user",
"content": message["text"]
}],
system_prompt="You are a helpful team assistant."
)
say(response.content)
@app.command("/review")
def handle_review(ack, command, say):
ack()
review = client.code.review(
code=command["text"],
model="codestral",
severity_threshold="warning"
)
say(f"*Code Review:*\n{review.summary}")
app.start(port=3000)Channel Summarizer
Missed a day of messages? The bot can summarize entire channels, extract decisions made, and list action items — so you're caught up in seconds.
Slash Commands for AI Tools
Add slash commands for any Vincony tool: /translate, /debug, /summarize, /research. Each routes to the optimal AI model automatically.
@app.command("/research")
def handle_research(ack, command, say):
ack()
report = client.search.deep_research(
question=command["text"],
depth=2,
format="summary"
)
say(f"*Research:* {report.answer}\n\n"
f"Sources: {len(report.citations)}")Pricing
The Slack bot uses standard Vincony API credits. Free tier includes 100 credits/month — enough for ~500 bot interactions.
Try It Free — 100 API Credits
Start using these tools today with Vincony's free Developer plan.
Get Free API Key