> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kaie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Business Integration

> Connect and automate Instagram Direct messaging with Kaie

## Instagram Business Integration

Instagram Business integration enables you to engage with customers through Instagram Direct messages, stories, and posts. This integration is perfect for brands looking to connect with their audience on one of the most popular social media platforms.

## Getting Started

### Prerequisites

* Instagram Business Account
* Facebook Business Manager account
* Connected Facebook Page
* Instagram Professional account

### Setup Process

<Steps>
  <Step title="Convert to Business Account">
    1. Go to your Instagram profile settings
    2. Switch to "Switch to Professional Account"
    3. Choose "Business" account type
    4. Connect to your Facebook Page
  </Step>

  <Step title="Connect to Kaie">
    1. Navigate to Integrations in your Kaie dashboard
    2. Select "Instagram Business" from available integrations
    3. Click "Connect Account"
    4. Authorize Kaie to access your Instagram Business account
  </Step>

  <Step title="Configure Settings">
    1. Set your business display name
    2. Upload your business profile picture
    3. Configure auto-responses
    4. Set up message templates
  </Step>
</Steps>

## Message Types

### Text Messages

Send text messages through Instagram Direct.

<AccordionGroup>
  <Accordion title="Basic Text Messages">
    * Plain text messages
    * Emoji support
    * Hashtag support
    * Mention support (@username)
  </Accordion>

  <Accordion title="Configuration">
    ```json theme={null}
    {
      "type": "text",
      "text": "Hi @{{username}}! Thanks for reaching out. How can I help you today? #customer_service"
    }
    ```
  </Accordion>
</AccordionGroup>

### Media Messages

Share images, videos, and carousels through Instagram Direct.

<AccordionGroup>
  <Accordion title="Supported Media Types">
    * **Images**: JPG, PNG (max 8MB)
    * **Videos**: MP4, MOV (max 100MB)
    * **Carousels**: Multiple images/videos in one message
    * **Stories**: Temporary content (24 hours)
  </Accordion>

  <Accordion title="Configuration">
    ```json theme={null}
    {
      "type": "image",
      "image": {
        "url": "https://example.com/image.jpg",
        "caption": "Check out our latest collection! #fashion"
      }
    }
    ```
  </Accordion>
</AccordionGroup>

### Interactive Messages

Create engaging conversations with interactive elements.

<AccordionGroup>
  <Accordion title="Quick Replies">
    * Pre-defined response options
    * Easy customer selection
    * Workflow branching
    * Data collection
  </Accordion>

  <Accordion title="Call-to-Action Buttons">
    * Visit website
    * Call phone number
    * Send email
    * Custom actions
  </Accordion>
</AccordionGroup>

### Story Messages

Respond to Instagram Stories and create interactive content.

<AccordionGroup>
  <Accordion title="Story Interactions">
    * Respond to story mentions
    * React to story content
    * Share story responses
    * Create story polls
  </Accordion>

  <Accordion title="Story Features">
    * Stickers and GIFs
    * Location tags
    * Hashtag stickers
    * Mention stickers
  </Accordion>
</AccordionGroup>

## Workflow Integration

### Message Triggers

Set up workflows that respond to Instagram messages and interactions.

<AccordionGroup>
  <Accordion title="Trigger Types">
    * **Direct Messages**: Respond to DM conversations
    * **Story Mentions**: React to story mentions
    * **Post Comments**: Respond to post comments
    * **Hashtag Mentions**: Monitor specific hashtags
  </Accordion>

  <Accordion title="Use Cases">
    * **Customer Support**: Answer product questions
    * **Order Tracking**: Provide order updates
    * **Content Engagement**: Respond to comments and mentions
    * **Lead Generation**: Qualify potential customers
  </Accordion>
</AccordionGroup>

### Automated Responses

Configure AI-powered responses for Instagram interactions.

<AccordionGroup>
  <Accordion title="Response Types">
    * **Instant Replies**: Quick responses to common questions
    * **AI-Generated**: Intelligent responses using AI Brain
    * **Template-Based**: Pre-written responses for specific scenarios
    * **Escalation**: Route complex issues to human agents
  </Accordion>

  <Accordion title="Configuration">
    * Set response time limits
    * Configure escalation rules
    * Define conversation flows
    * Set up fallback responses
  </Accordion>
</AccordionGroup>

## Advanced Features

### Story Management

Automate Instagram Story interactions and responses.

<AccordionGroup>
  <Accordion title="Story Features">
    * **Auto-respond to mentions**: Automatically respond to story mentions
    * **Story polls**: Create interactive polls in stories
    * **Story questions**: Answer customer questions in stories
    * **Story highlights**: Save important stories to highlights
  </Accordion>

  <Accordion title="Configuration">
    * Set up story mention monitoring
    * Configure auto-response templates
    * Create story content templates
    * Set up story highlight categories
  </Accordion>
</AccordionGroup>

### Hashtag Monitoring

Track and respond to specific hashtags and mentions.

<AccordionGroup>
  <Accordion title="Monitoring Features">
    * **Hashtag tracking**: Monitor specific hashtags
    * **Mention alerts**: Get notified of brand mentions
    * **Competitor monitoring**: Track competitor mentions
    * **Trend analysis**: Analyze hashtag performance
  </Accordion>

  <Accordion title="Use Cases">
    * **Brand monitoring**: Track brand mentions
    * **Campaign tracking**: Monitor campaign hashtags
    * **Customer feedback**: Collect user-generated content
    * **Influencer engagement**: Connect with influencers
  </Accordion>
</AccordionGroup>

### Content Scheduling

Schedule Instagram posts and stories through Kaie.

<AccordionGroup>
  <Accordion title="Scheduling Features">
    * **Post scheduling**: Schedule regular posts
    * **Story scheduling**: Schedule story content
    * **Carousel posts**: Create multi-image posts
    * **Video posts**: Schedule video content
  </Accordion>

  <Accordion title="Configuration">
    * Set posting schedules
    * Configure content templates
    * Set up approval workflows
    * Monitor posting performance
  </Accordion>
</AccordionGroup>

## Analytics and Insights

### Message Analytics

Track performance of your Instagram messaging.

<AccordionGroup>
  <Accordion title="Metrics">
    * **Response time**: Average time to respond
    * **Message volume**: Number of messages sent/received
    * **Engagement rate**: Customer engagement levels
    * **Conversion rate**: Messages that lead to conversions
  </Accordion>

  <Accordion title="Reporting">
    * Daily, weekly, monthly reports
    * Performance comparisons
    * Trend analysis
    * Custom dashboards
  </Accordion>
</AccordionGroup>

### Content Performance

Monitor the performance of your Instagram content.

<AccordionGroup>
  <Accordion title="Content Metrics">
    * **Reach**: Number of unique accounts reached
    * **Impressions**: Total number of times content was viewed
    * **Engagement**: Likes, comments, shares, saves
    * **Click-through rate**: Clicks on links in content
  </Accordion>

  <Accordion title="Optimization">
    * Identify top-performing content
    * Optimize posting times
    * Improve content strategy
    * A/B test different approaches
  </Accordion>
</AccordionGroup>

## Best Practices

### Content Guidelines

Follow Instagram's community guidelines and best practices.

<AccordionGroup>
  <Accordion title="Content Best Practices">
    * Use high-quality visuals
    * Write engaging captions
    * Use relevant hashtags
    * Engage with your audience
  </Accordion>

  <Accordion title="Messaging Best Practices">
    * Respond quickly to messages
    * Use a friendly, authentic tone
    * Provide valuable information
    * Encourage engagement
  </Accordion>
</AccordionGroup>

### Engagement Strategies

Develop effective engagement strategies for Instagram.

<AccordionGroup>
  <Accordion title="Engagement Tactics">
    * Ask questions in posts
    * Use interactive stickers in stories
    * Respond to comments promptly
    * Share user-generated content
  </Accordion>

  <Accordion title="Community Building">
    * Create branded hashtags
    * Host Instagram takeovers
    * Collaborate with influencers
    * Run Instagram contests
  </Accordion>
</AccordionGroup>

## Troubleshooting

### Common Issues

Resolve common Instagram integration problems.

<AccordionGroup>
  <Accordion title="Connection Issues">
    * Verify Instagram Business account
    * Check Facebook Page connection
    * Review API permissions
    * Test webhook connectivity
  </Accordion>

  <Accordion title="Message Delivery Issues">
    * Check message format
    * Verify recipient accounts
    * Review rate limits
    * Check content policies
  </Accordion>
</AccordionGroup>

### Error Codes

Understand common error codes and their solutions.

| Error Code | Description         | Solution                 |
| ---------- | ------------------- | ------------------------ |
| 100        | Invalid parameter   | Check message format     |
| 200        | Permission denied   | Verify API permissions   |
| 368        | Rate limit exceeded | Reduce message frequency |
| 400        | Bad request         | Check request format     |

## Next Steps

Explore more integration options:

<CardGroup cols={2}>
  <Card title="WhatsApp Integration" icon="whatsapp" href="/integrations/whatsapp">
    Connect with customers through WhatsApp Business
  </Card>

  <Card title="Voice Calls" icon="phone" href="/integrations/voice-calls">
    Set up AI-powered voice interactions
  </Card>

  <Card title="AI Brain System" icon="brain" href="/integrations/ai-brain">
    Leverage AI for intelligent conversations
  </Card>

  <Card title="Analytics" icon="chart-line" href="/analytics/overview">
    Monitor Instagram performance and engagement
  </Card>
</CardGroup>
