1. Architecture
  2. Slack Integration AI Agent

Architecture

Slack Integration AI Agent

Recipe for enabling Slack for an LLM agent in Stubber

User Engagement

Example User Requests :

  • How can I add Slack integration to my Stubber agent?
  • I want my bot engage on Slack, how do I do that?

Clarification Questions

  • Which channel on slack should this work on?
  • Have you already implemented a slack profile on Stubber?
  • Should I update the _create context too?

Implementation Plan

Implementation Steps:

  1. Add an _update_from_slack action from the actions library to the flow (from library)
  2. Ammend the _update_from_chat_assistant_task to send a slack notification if the communication_channel is slack
  3. Add the _update_from_slack create action to the _create context (from library)
  4. Amend the _create aciton on the default context to run a send action task if the incoming slack data is in the stub.data