Slack + Not Diamond + Google AI Studio (Gemini)

Generate replies to new Slack channel messages by routing between a strong and weak Google model using Not Diamond

Build a Slack chatbot that saves on cost without compromising quality. This template uses Not Diamond to automatically route each new message in a specified Slack channel to the ideal Google model—selecting between a stronger, high-quality model (Gemini 1.5 Pro) on more complex messages and a weaker cost-effective option (Gemini 1.5 Flash) on simpler messages. The chosen model generates a response that’s automatically posted back in the channel, enhancing team communication with optimized efficiency.

Build a Slack chatbot that saves on cost without compromising quality. This template uses Not Diamond to automatically route each new message in a specified Slack channel to the ideal Google model—selecting between a stronger, high-quality model (Gemini 1.5 Pro) on more complex messages and a weaker cost-effective option (Gemini 1.5 Flash) on simpler messages. The chosen model generates a response that’s automatically posted back in the channel, enhancing team communication with optimized efficiency.

  1. When this happens...
    SlackSlack
    New Message Posted to Channel

    Triggers when a new message is posted to a specific #channel you choose.

    TriggerInstant
  2. automatically do this...
    Not DiamondNot Diamond
    Route Prompt

    Sends the prompt to the /modelSelect endpoint which will return a label for which LLM should be called.

    ActionWrite
  3. then do this...
    Google AI Studio (Gemini)Google AI Studio (Gemini)
    Send Prompt

    Sends a prompt and generates a response.

    ActionWrite
  4. then do this!
    SlackSlack
    Send Channel Message

    Triggers when a new message is posted to a specific #channel you choose.

    ActionWrite
Start free with email
Start free with email
  • Free forever for core features
  • 14 day trial for premium features & apps

Supported triggers and actions

    • Trigger for Bot Messages?

    • Optimized data

    Trigger
    Instant
    Try It
    • ChannelRequired

    • Trigger for Bot Messages?

    • Optimized data

    Trigger
    Instant
    Try It
    • Channel

    • User Name

    • Shared

    Trigger
    Instant
    Try It
    • Search QueryRequired

    • Optimized data

    Trigger
    Scheduled
    Try It
  • Slack triggers, actions, and search

    New Channel

    Triggers when a new #channel is created.

    Trigger
    Instant
    Try It
    • Include Alias

    Trigger
    Instant
    Try It
    • User Name

    • Highlight Word

    • Trigger for Bot Messages?

    Trigger
    Instant
    Try It
    • ChannelRequired

    • Trigger for Bot Messages?

    Trigger
    Instant
    Try It
slack logo
slack logo

About Slack

Slack is a platform for team communication: everything in one place, instantly searchable, available wherever you go. Offering instant messaging, document sharing and knowledge search for modern teams.
Learn more

Related categories

  • Team Chat

Similar apps

Chatwork integrationsChatwork integrations

Chatwork

Team Chat
Microsoft Teams integrationsMicrosoft Teams integrations

Microsoft Teams

Microsoft, Team Chat
Twist integrationsTwist integrations

Twist

Team Chat
not-diamond logo
not-diamond logo

About Not Diamond

Not Diamond is a personalized AI model router that recommends the right LLM for your prompts and workflows.

Related categories

  • AI Tools
google-ai-studio logo
google-ai-studio logo

About Google AI Studio (Gemini)

Google AI Studio is a fast, easy way to start prototyping generative AI ideas using Google's Gemini model.
Learn more

Related categories

  • AI Tools
  • Google