Skip to content

promptlyagentai/slack-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slack Integration for PromptlyAgent

Laravel package providing Slack integration for PromptlyAgent AI platform.

Features

  • OAuth Authentication - Seamless Slack workspace connection
  • Webhook Input Triggers - Receive messages from Slack channels
  • Message Output Actions - Send agent responses to Slack channels
  • Agent Tools - Send messages and interact with Slack from AI agents
  • Self-Registering - Zero-configuration Laravel package with auto-discovery

Screenshots

Admin Interface Configuration

Configure your Slack integration through the PromptlyAgent admin interface:

Slack OAuth Configuration

OAuth setup and workspace connection

Webhook Configuration

Webhook input triggers and event handling

Output Actions Configuration

Configure output actions to send responses to Slack channels

Slack Integration in Action

Slack Bot Interaction

AI agent responding to messages in Slack channels

Slack Thread Conversations

Multi-turn conversations with context awareness

Note: This repository maintains a maximum of 5 screenshots to keep the repository size manageable. The current screenshots provide comprehensive coverage of the integration's key features.

Installation

This package is designed to be used with PromptlyAgent. It will be automatically discovered by Laravel when installed.

composer require promptlyagentai/slack-integration

Configuration

The package will automatically:

  • Register routes for OAuth and webhooks
  • Add database migrations for Slack-specific tables
  • Register Livewire components for Slack configuration UI
  • Register agent tools and output actions

Usage

OAuth Setup

  1. Create a Slack App at https://api.slack.com/apps
  2. Add OAuth scopes: chat:write, channels:read, groups:read
  3. Set redirect URL to: https://yourdomain.com/integrations/slack/callback
  4. Configure your Slack app credentials in the PromptlyAgent UI

Input Triggers

Create webhook input triggers to receive messages from Slack:

  • Configure webhook URL in your Slack app
  • Messages will trigger agent executions automatically

Output Actions

Send agent responses to Slack channels:

  • Configure output actions in agent settings
  • Supports both basic messages and Slack Blocks formatting

Agent Tools

Agents can use Slack tools to:

  • Send messages to channels
  • Search for channels
  • Retrieve channel information

Requirements

  • PHP 8.2 or higher
  • Laravel 11.0 or 12.0
  • Livewire 3.0

License

MIT License. See LICENSE for details.

Support

For issues and questions, please use this repository: https://github.com/promptlyagentai/slack-integration

About

Slack integration for PromptlyAgentAI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published