# How to Create an Instagram Bot Flow in ZazzyAgent

Once your Instagram account is connected to ZazzyAgent, you can create automated conversations for Instagram DMs.

A bot flow is a predefined conversation.

For example:

Customer:

> Hi

Bot:

> Hi! How can we help?

**Get Pricing**

**Book a Demo**

**Talk to Support**

The customer chooses an option and the automation continues.

## What is an Instagram bot flow?

A bot flow is a sequence of messages and actions that tells ZazzyAgent what to do during a conversation.

It can contain things such as:

*   Text messages
    
*   Images
    
*   Videos
    
*   Buttons
    
*   User Input
    
*   Conditions
    
*   Labels
    
*   Sequences
    
*   Other supported actions
    
*   AI components
    

A simple flow might look like:

```text
Instagram DM
     ↓
Trigger
     ↓
Welcome Message
     ↓
Buttons
  ↙   ↓   ↘
Sales FAQ Support
```

## When should you use a bot flow?

Bot flows are ideal when the conversation is predictable.

Examples:

> Select a service.

> Choose your preferred option.

> Enter your phone number.

> Select a support category.

They are especially useful for structured processes.

## Bot flow vs AI Agent

This distinction is important.

### Bot Flow

Follows a predefined structure.

### AI Agent

Understands natural-language messages and decides how to respond based on its instructions, knowledge and actions.

For example:

### Bot flow

Customer taps:

**Pricing**

→ Send pricing message.

### AI Agent

Customer asks:

> What's the price for your premium plan?

The AI understands what the customer is asking and can answer from its Knowledge.

## Create your Instagram flow

Open the Flow Builder in ZazzyAgent.

Create a new flow.

Give it a meaningful name.

For example:

> Instagram Main Menu

Avoid:

> Test Flow 4

Clear naming becomes important when you create multiple automations.

## Add the opening message

Start with a short message.

Example:

> Hi! Welcome to our Instagram inbox. What can I help you with?

Then add your available choices.

## Add buttons or interactive choices

For example:

**Our Services**

**Pricing**

**Book a Call**

**Talk to Support**

Each option should lead somewhere useful.

## Build separate branches

For example:

```text
Our Services
     ↓
Service Information

Pricing
     ↓
Pricing Information

Book a Call
     ↓
Booking Flow

Talk to Support
     ↓
Human Support
```

This keeps your flow organized.

## Collect information with User Input

Suppose the customer chooses:

**Book a Call**

You can then ask:

> What's your name?

Then:

> What's the best email address?

Then:

> What are you interested in?

The responses can be stored as customer information where configured.

See [ZazzyAgent User Input Guide](https://blog.zazzyagent.com/zazzyagent-user-input-guide).

## Use conditions

Suppose you collect:

> Customer Type

You could route:

**Existing Customer**

→ Support

**New Customer**

→ Sales

See [How to Use Conditions in ZazzyAgent Flow Builder](https://blog.zazzyagent.com/how-to-use-conditions-in-zazzyagent-flow-builder).

## Use labels

You can classify a customer based on their interaction.

For example:

Customer selects:

**Book a Demo**

You can add:

> Demo Interest

This becomes useful later for segmentation and follow-up.

## Add AI when the conversation becomes unpredictable

You don't have to choose between a bot flow and AI.

They can work together.

For example:

```text
Instagram
   ↓
Main Menu
   ↓
"Ask a Question"
   ↓
AI Agent
   ↓
Knowledge + Actions
```

The structured menu handles common tasks.

The AI handles open-ended questions.

## Example: Instagram service enquiry

```text
Customer
   ↓
"Hi"
   ↓
Welcome
   ↓
[Services]
[Pricing]
[Book]
[Support]
```

Customer chooses:

**Pricing**

↓

Pricing information.

Customer then asks:

> Do you have a discount for annual plans?

That is where an AI Agent can be more useful than another fixed branch.

## Test your flow

Test every branch.

Check:

*   Message appears correctly.
    
*   Buttons work.
    
*   Correct branch starts.
    
*   User Input captures data.
    
*   Conditions produce the correct result.
    
*   Labels are applied correctly.
    
*   Human handoff works.
    

## Common mistakes

### Too many buttons

Keep the first menu simple.

### Every question has a fixed branch

Not every customer communicates in predictable words.

Use AI where natural-language conversations are expected.

### No exit path

Give customers a clear way to reach support.

### Huge flow

Split large processes into smaller flows.

## Recommended architecture

For many Instagram businesses, a hybrid setup works best:

```text
Instagram DM
      ↓
Simple Bot Flow
      ↓
Structured choices
      ↓
Predictable task?
    ↙       ↘
  Yes        No
   ↓          ↓
Bot Flow    AI Agent
   ↓          ↓
Structured  Natural
Process     Conversation
```

A good Instagram automation does not need to make everything AI-powered.

Use flows for structure.

Use AI for understanding.
