Integration Details

Slack

Automate image generation in your n8n workflows with PowerAI

Overview

The Slack integration enables your team to generate AI-powered images directly within Slack channels and DMs. Streamline visual content creation without leaving your communication platform.

Key Features

  • Slash Commands: Generate images with simple /powerai commands
  • Interactive Buttons: Quick-access buttons for common image types
  • Thread Support: Generate images in threads for organized discussions
  • Private DMs: Generate images in private conversations
  • Custom Workflows: Integrate with Slack Workflow Builder

How It Works

  1. Connect Your Workspace: Authorize PowerAI to access your Slack workspace
  2. Install the App: Add the PowerAI app to your workspace
  3. Configure Channels: Choose which channels can use the integration
  4. Set Permissions: Control who can generate images
  5. Start Creating: Use slash commands to generate images

Use Cases

  • Team Collaboration: Generate visuals for projects and presentations
  • Marketing: Create social media graphics and promotional images
  • Design Reviews: Generate concepts and variations for feedback
  • Documentation: Create diagrams and illustrations for docs
  • Brainstorming: Quickly visualize ideas and concepts

Setup Instructions

To set up the Slack integration:

  1. Go to PowerAI Integrations → Slack
  2. Click "Connect" and authorize with Slack
  3. Select the workspace to connect
  4. Configure channel permissions and settings
  5. Invite the PowerAI bot to relevant channels
  6. Test with a slash command

Technical Details

  • API Version: Slack Web API, Events API, and Socket Mode
  • Authentication: OAuth 2.0 with bot tokens
  • Supported Commands: /powerai, /powerai-generate, /powerai-help
  • Image Formats: PNG, JPG, GIF
  • Max Resolution: Up to 2048x2048 pixels
  • Rate Limits: Configurable based on your plan

Slash Commands

  • /powerai [prompt] - Generate an image from a prompt
  • /powerai-style [style] [prompt] - Generate with specific style
  • /powerai-size [size] [prompt] - Generate with custom dimensions
  • /powerai-help - Show help and available commands

Interactive Features

Quick Actions

Click the reaction buttons on generated images to:

  • 🔄 Regenerate the image
  • 📐 Change dimensions
  • 🎨 Apply different styles
  • 💾 Download the image

Workflow Integration

Use with Slack Workflow Builder to:

  • Auto-generate images based on triggers
  • Create approval workflows for generated images
  • Schedule image generation for specific times
  • Route images to specific channels or users

Best Practices

  • Be Specific: Use detailed prompts for better results
  • Use Threads: Keep conversations organized with threads
  • Set Guidelines: Establish team guidelines for appropriate content
  • Monitor Usage: Track usage to optimize your plan
  • Provide Feedback: Help improve the AI with feedback on results

Pricing

Slack integration is free to install. Image generation uses your PowerAI quota. Team plans include advanced features like unlimited generations and custom workflows.