๐Ÿ“‹ Platform Overview

Zamili.ai is a powerful Platform-as-a-Service (PaaS) that enables businesses, creators, and agencies to automate their Instagram marketing workflows. Our visual workflow builder allows you to create complex automation rules without writing code.

๐ŸŽฏ Visual Workflow Builder

Drag-and-drop interface to create automation workflows with nodes and connections.

๐Ÿค– Intelligent Automation

Automatically respond to comments and DMs based on keywords, conditions, and triggers.

๐Ÿ“Š Analytics & Insights

Track performance, engagement metrics, and optimize your Instagram strategy.

๐Ÿ“ฑ Multi-Account Management

Manage multiple Instagram Business accounts from a single dashboard.

๐Ÿš€ Getting Started

๐ŸŽฅ Video Tutorial

Watch this comprehensive tutorial to learn how to get started with Zamili.ai and build your first workflow automation.

Step 1: Connect Your Instagram Account

  1. Navigate to Integrations in your dashboard
  2. Click Connect Instagram
  3. Authorize Zamili.ai to access your Instagram Business account
  4. Your account will appear in the connections list
Note: You need an Instagram Business account to use Zamili.ai. Personal accounts are not supported.

Step 2: Create Your First Workflow

  1. Go to Workflows in the dashboard
  2. Click Create New Workflow
  3. Add a trigger node (e.g., "New Comment" or "New DM")
  4. Add condition nodes to filter messages
  5. Add action nodes to respond automatically
  6. Connect nodes with edges
  7. Save and enable your workflow

Step 3: Test Your Workflow

After creating a workflow, test it by:

  • Sending a test DM or comment that matches your trigger conditions
  • Checking the workflow execution logs
  • Verifying that responses are sent correctly

๐Ÿ“ธ Instagram Integration

Manage your connected Instagram Business accounts with powerful tools directly from the dashboard.

Account Management

In the Integrations or Instagram page, you can access the "Manage" modal for any connected account:

  • Refresh Token: Manually refresh your access token if it expires or becomes invalid.
  • Load Media: View your recent Instagram media (posts, reels) directly in the dashboard to verify connection and content access. Images are loaded in a responsive grid.
  • Disconnect: Safely remove an account from Zamili.ai.
Token Expiry: Instagram access tokens are valid for 60 days. Zamili.ai automatically attempts to refresh them, but you can do it manually if needed.

๐Ÿ“… Content Publishing & Scheduling

Plan, create, and schedule your Instagram content ahead of time with our advanced publishing tools.

Calendar View

The visual calendar provides a monthly, weekly, or daily view of your scheduled content. Drag and drop posts to reschedule them instantly.

Post Scheduling

Create new posts with the following features:

  • Media Upload: Upload images or videos. Our built-in tool automatically resizes and crops images to meet Instagram's aspect ratio requirements (1:1 square, 4:5 portrait, or 1.91:1 landscape).
  • Captioning: Write captions with emoji support.
  • Timezone Support: Schedule posts in your specific timezone.
  • Recurrence: Set posts to repeat daily, weekly, or monthly until a specific date.
  • Auto-Repost: Automatically repost successful content based on engagement metrics.

Platform Support

While primarily optimized for Instagram, the scheduler supports selecting other platforms (Facebook, LinkedIn, TikTok, etc.) for future cross-posting capabilities.

โš™๏ธ Understanding Workflows

A workflow is a visual representation of your automation logic. It consists of:

Trigger Node
โ†’
Condition Node
โ†’
Action Node

Workflow Components

โšก
Trigger Nodes
TRIGGER

Trigger nodes start your workflow when a specific event occurs (e.g., new comment, new DM).

๐Ÿ”€
Condition Nodes
UTILITY

Condition nodes check if certain criteria are met (e.g., keyword contains, post ID matches).

๐ŸŽฌ
Action Nodes
ACTION

Action nodes perform tasks (e.g., send DM, reply to comment, publish post).

๐Ÿ“Š Analytics & Insights

Track the performance of your automations and content strategy with comprehensive analytics.

Visual Dashboards

Our new interactive dashboards provide real-time insights:

  • Daily Executions Graph: Visualize the volume of workflow runs and automation rule responses over the last 30 days.
  • Engagement Trends: Track daily Likes and Comments across your connected accounts to measure audience interaction.

Key Metrics

  • Total Executions: Aggregate count of all automated actions performed.
  • Response Rate: Percentage of incoming messages/comments handled automatically.
  • Workflow Success Rate: Ratio of successfully completed workflows vs. failures.

๐ŸŽฎ Interactive Workflow Simulator

Try building a workflow yourself! Drag nodes onto the canvas and connect them to see how workflows work.

Build Your Workflow

๐Ÿ’ฌ New Comment
๐Ÿ“ฉ New DM
๐Ÿ” Condition
๐Ÿ“ค Reply DM
๐Ÿ’ฌ Reply Comment

Drop nodes here

Drag nodes from above and connect them

Simulation Results

๐Ÿง  Workflow JSON Live Simulation

Run the real Zamili.ai workflow definition with realistic Instagram events. Pick a ready-made scenario or craft your own comment/DM data to see how triggers, conditions and actions execute in sequence.

Workflow Overview

Loading Zamili demo workflowโ€ฆ

Triggers
โ€“
Conditions
โ€“
DM Actions
โ€“
Comment Actions
โ€“
{ "name": "Zamili Demo Workflow", "nodes": [ ["node_comment_trigger", "instagram.new_comment"], ["node_slang_guard", "util.slang_detector"], ["node_check_keyword", "condition.if"], ["node_check_post", "condition.if"], ["node_dm_learn", "instagram.reply_dm"], ["node_comment_confirm", "instagram.reply_comment"], ["node_comment_fallback", "instagram.reply_comment"], ["node_comment_default", "instagram.reply_comment"], ["node_dm_trigger", "instagram.new_dm"], ["node_convo_check", "util.conversation_step"], ["node_dm_cond_learn", "condition.if"], ["node_parse_menu", "util.parse_menu"], ["node_dm_cond_pricing", "condition.if"], ["node_dm_send_learn", "instagram.reply_dm"], ["node_link_learn", "link.create"], ["node_validate_email", "util.validate_email"], ["node_email_learn", "email.send"], ["node_convo_set_complete", "util.conversation_step"], ["node_dm_send_pricing", "instagram.reply_dm"], ["node_dm_default", "instagram.reply_dm"] ], "edges": [ ["node_comment_trigger", "node_slang_guard"], ["node_slang_guard", "node_check_keyword", "true"], ["node_slang_guard", "node_comment_default", "false"], ["node_check_keyword", "node_check_post", "true"], ["node_check_keyword", "node_comment_default", "false"], ["node_check_post", "node_dm_learn", "true"], ["node_check_post", "node_comment_default", "false"], ["node_dm_learn", "node_comment_confirm"], ["node_dm_learn", "node_comment_fallback", "error"], ["node_dm_trigger", "node_convo_check"], ["node_convo_check", "node_dm_cond_learn", "start"], ["node_dm_cond_learn", "node_parse_menu", "true"], ["node_dm_cond_learn", "node_dm_cond_pricing", "false"], ["node_parse_menu", "node_dm_send_learn", "true"], ["node_parse_menu", "node_dm_send_learn", "false"], ["node_dm_send_learn", "node_link_learn"], ["node_link_learn", "node_validate_email"], ["node_validate_email", "node_email_learn", "true"], ["node_validate_email", "node_dm_default", "false"], ["node_email_learn", "node_convo_set_complete"], ["node_convo_set_complete", "node_dm_default"], ["node_dm_cond_pricing", "node_dm_send_pricing", "true"], ["node_dm_cond_pricing", "node_dm_default", "false"], ["node_dm_send_pricing", "node_dm_default"] ] }

3D Workflow Graph

Triggers (blue), conditions (amber), and actions (green) orbit in real time. Hover nodes for info, click to view details.

Drag to orbit ยท Scroll to zoom ยท Double click to reset

Need inspiration? Select any scenario card or tweak the data above.
Pick a scenario or run a simulation to visualise the workflow execution in real-time.

Fake Meta API Trace

Awaiting workflow run...
Run any scenario and we will fabricate the request & response payloads so reviewers can see what Zamili would send to Meta.

๐Ÿงฉ Node Reference

Trigger Nodes

๐Ÿ’ฌ
Instagram New Comment
TRIGGER

Triggers when a new comment is posted on your Instagram posts.

Connection: Instagram Business Account
Comment Contains: learn,ai,automation

Example Use Case

When someone comments "learn" or "AI" on your post, trigger a workflow that sends them a DM with educational resources.

๐Ÿ“ฉ
Instagram New DM
TRIGGER

Triggers when you receive a new direct message.

Connection: Instagram Business Account
Message Contains: pricing,support,help

Example Use Case

Automatically respond to DMs containing "pricing" with your pricing information, or "support" with help resources.

๐Ÿ”—
Link Click Trigger
TRIGGER

Triggers when a user clicks on a specific tracked link (e.g., from Bio or Story).

Link ID: Select Tracked Link...

Example Use Case

Link in Bio: User clicks your "Free Guide" link -> they are redirected to the PDF AND simultaneously receive a DM saying "Thanks for downloading! Here's a 10% off coupon."

Condition Nodes

๐Ÿ”
Condition If
UTILITY

Checks if a condition is true or false, routing the workflow accordingly. Supports multiple condition types.

Condition Types: contains, post_id, from, is_equal_to, message_length, is_following

Available Condition Types:

  • Contains: Checks if message/comment contains specific keywords
  • Post ID: Checks if comment is on a specific post
  • From: Checks if message is from specific username(s)
  • Is Equal To: Exact text match
  • Message Length: Checks message length (greater than, less than, equals)
  • Is Following: Checks if user is following your account

Example 1: Keyword Check

Condition Type: contains
Condition Contains: moustawrid,dzair,ai
Result: Routes to "true" if comment contains any of these keywords

๐Ÿ’พ
Set Variable
UTILITY

Stores a value in the workflow context for use in subsequent nodes.

Variable Name: user_email
Value: {{message}} or static text
๐Ÿ”‘
Validate Email
UTILITY

Checks email addresses stored in a variable and branches to true/false paths based on format validity.

Email Variable: user_email

Example

After capturing an email via DM, run Validate Email. Route the true edge to an Email Send node, and false back to a DM asking the user to try again.

๐Ÿฑ
Parse Menu Selection
UTILITY

Parses quick-reply / menu selections from a DM. Supports numeric choices (1/2/3) and keyword matching.

Message Variable: message
Menu Items: [{ label: "Pricing", value: "pricing" }, โ€ฆ]

Example

Let the user reply "1", "Pricing", or press a quick reply. Parse Menu Selection stores menu_selection plus menu_selection_label so you can branch to the right offer.

๐Ÿงญ
Conversation Step
UTILITY

Persists multi-step conversation state (check/set/update/clear) so you can build guided flows with context stored per user/thread.

Action: check ยท set ยท update ยท clear
Step: (for set) e.g. collecting_email

Example

Use check at the top of a workflow to route returning users to the correct step, set when you move to the next form question, and clear when the journey is complete.

๐Ÿงช
Slang Detector
UTILITY

Runs AI-powered content moderation via OpenRouter to flag profanity, hate speech, spam, or harassment. Routes to true/false labels and can automatically hide or delete bad content.

Sensitivity: low ยท medium ยท high
Categories: profanity, hate_speech, spam, harassment
Action on Bad Content: None ยท Hide Comment ยท Delete Comment

Example 1: Auto-Moderation

Set Action on Bad Content to "Hide Comment" or "Delete Comment" to automatically moderate flagged content. The node will hide/delete the comment and then route to the false edge (content is not clean).

Example 2: Manual Review

Set Action on Bad Content to "None" to only flag content without taking action. Route the true edge (flagged) to a notification or manual review workflow.

๐Ÿ’ก Note: Requires an OpenRouter API key configured in your account settings. The Slang Detector uses free AI models for content moderation.
๐Ÿ”—
Create Link
ACTION

Creates a tracked short link that redirects to your URL. Useful for tracking clicks and analytics.

URL: https://example.com/page
Campaign: Optional campaign name

Action Nodes

๐Ÿ“ค
Reply Instagram DM
ACTION

Sends a direct message to a user. Can be used to reply to DMs or send messages triggered by comments.

Connection: Instagram Business Account
Message Template: Hi {{sender_username}}! ๐Ÿ‘‹
Buttons: Optional quick replies or URL buttons

Example Configuration

Message: "Hi {{sender_username}}! Thanks for reaching out. Here's the link: https://example.com"

Variables Available: {{sender_username}}, {{sender_id}}, {{message}}, {{commenter_username}}

๐Ÿ’ฌ
Reply Instagram Comment
ACTION

Replies to an Instagram comment publicly on your post.

Connection: Instagram Business Account
Message Template: Check your DMs! ๐Ÿ“ฉ

Example Use Case

After successfully sending a DM, reply to the comment with "Check your DMs! ๐Ÿ“ฉ" to let the user know.

โœ‰๏ธ
Send Email (Gmail)
ACTION

Delivers transactional or follow-up emails through your connected Gmail account. Supports HTML or plain text bodies with variable interpolation.

Gmail Account: Connected Gmail ID
To: {{user_email}}
Subject: Welcome to Zamili!

Example

Pair with Validate Email + Parse Menu Selection to send tailored onboarding emails when someone chooses "Get Pricing" or "Book a Demo" inside Instagram DMs.

Edge Types & Routing

Understanding Edges: Edges connect nodes and define the workflow flow. Different edge types route execution differently.

Default Output (โ†’)

Routes to the next node when action succeeds. Used for successful DM sends, comment replies, etc.

Error Output (โš ๏ธ)

Routes when an action fails (e.g., DM closed, API error). Use for fallback responses.

True Output (โœ“)

Routes when a condition evaluates to true (e.g., keyword found, post matches).

False Output (โœ—)

Routes when a condition evaluates to false (e.g., keyword not found).

โšก Quick Replies & Buttons

Enhance your DM responses with interactive buttons and quick replies to improve user engagement and streamline conversations.

Quick Replies

Quick replies appear as buttons below your message, allowing users to respond with a single tap.

{ "recipient": { "id": "1189918569856602" }, "message": { "text": "Choose an option:", "quick_replies": [ { "content_type": "text", "title": "Pricing", "payload": "QR_PRICING" }, { "content_type": "text", "title": "Support", "payload": "QR_SUPPORT" } ] } }

๐Ÿ’ก Workflow Examples

Example 1: Keyword-Based Comment Automation

Scenario

Automatically send DMs to users who comment specific keywords on your posts, then reply to their comment.

Comment Trigger
Contains: learn,ai
โ†’
Condition
Contains "learn"?
โ†’
Send DM
Workshop link
โ†’
Reply Comment
Check DMs!

๐Ÿค– Automation Rules

Automation Rules are post-specific automation configurations that automatically respond to comments on individual Instagram posts. Unlike workflows, automation rules are simpler and tied directly to specific posts.

Creating Automation Rules

  1. Navigate to Posts in your dashboard
  2. Select a post you want to automate
  3. Click Manage or Automation Rules
  4. Click Add Rule
  5. Configure your rule:
    • Rule Name: A descriptive name for your rule
    • Trigger Type: Any Comment, Keyword, or Specific User
    • Trigger Value: Keywords (comma-separated) or username
    • Action Type: Reply to Comment, Send DM, or Both
    • Max Responses: Limit how many times the rule can execute
  6. Save and activate your rule

๐Ÿ“ Rule Configuration

Trigger Types: any_comment ยท keyword ยท specific_user
Action Types: reply_comment ยท send_dm ยท both
Response Limit: 1-100 responses per rule

Automation Rules vs Workflows

Automation Rules

  • Post-specific automation
  • Simple trigger โ†’ action
  • No visual builder
  • Quick setup
  • Limited to comments

Workflows

  • Account-wide automation
  • Complex logic with conditions
  • Visual workflow builder
  • More powerful
  • Comments, DMs, and more
๐Ÿ’ก Tip: Use Automation Rules for simple post-specific responses, and Workflows for complex, multi-step automation logic.

๐Ÿ’ณ Subscription Plans & Limits

Zamili.ai offers different subscription tiers with varying limits and features. Understanding your plan's limits helps you optimize your automation strategy.

Available Plans

๐Ÿ†“ Free

  • Workflows: 5 max
  • Automation Rules: 5 max
  • Executions: 200 max
  • Features: Analytics, Posts, Workflows (no chat)
  • Restricted: Publish Content, Inbox

โญ Starter (Basic)

  • Workflows: 20 max
  • Automation Rules: 20 max
  • Executions: Unlimited
  • Features: All Free features + Chat, Publish, Inbox

๐Ÿš€ Pro

  • Workflows: 50 max
  • Automation Rules: 50 max
  • Executions: Unlimited
  • Features: All Starter features + Advanced analytics

๐Ÿข Enterprise

  • Workflows: 50 max
  • Automation Rules: 50 max
  • Executions: Unlimited
  • Features: All Pro features + Priority support

Understanding Limits

Execution Limit (Free Tier)

Free tier users have a limit of 200 workflow executions. Once reached:

  • All workflows are automatically disabled
  • You'll see a notification to upgrade
  • Workflows cannot be enabled until you upgrade or the limit resets

Note: Both workflow executions and automation rule executions count toward this limit.

Workflow & Rule Limits

Each plan has limits on the number of workflows and automation rules you can create:

  • You cannot create new workflows/rules once you reach your plan's limit
  • Deleting workflows/rules frees up slots for new ones
  • Upgrading your plan increases your limits
โš ๏ธ Important: Check your current usage in the dashboard before creating new workflows or automation rules to avoid hitting limits unexpectedly.

๐Ÿ”ค Variables & Placeholders

Zamili.ai supports dynamic variable interpolation in message templates. Use placeholders to personalize your automated responses.

Available Variables

Comment-Related Variables

{comment_text} The full text of the comment
{commenter_username} Instagram username of the commenter
{username} Alias for commenter_username
{commenter_id} Instagram user ID of the commenter
{comment_id} Unique ID of the comment
{post_id} ID of the post where comment was made

DM-Related Variables

{sender_username} Instagram username of the DM sender
{sender_id} Instagram user ID of the sender
{message} The DM message text
{message_id} Unique ID of the message

System Variables

{time} Current time (e.g., "3:45 PM")
{date} Current date (e.g., "Dec 20, 2025")

Using Variables

Example 1: Comment Reply

Template: "Hi {username}! Thanks for your comment: {comment_text}. Check your DMs for more info! ๐Ÿ“ฉ"

Result: "Hi @john_doe! Thanks for your comment: This is amazing!. Check your DMs for more info! ๐Ÿ“ฉ"

Example 2: DM Response

Template: "Hey {sender_username}! ๐Ÿ‘‹ I received your message at {time} on {date}. How can I help?"

Result: "Hey @jane_smith! ๐Ÿ‘‹ I received your message at 3:45 PM on Dec 20, 2025. How can I help?"

๐Ÿ’ก Note: Variables support both single braces {variable} and double braces {{variable}} formats for compatibility.

๐Ÿงช Testing & Validation

Before deploying your workflows, Zamili.ai provides built-in testing and validation to ensure your automation works correctly.

Test Before Deploy

Every workflow must pass validation and testing before it can be deployed:

  1. Validation: The system checks:
    • At least one trigger node exists
    • All required fields are filled
    • Logical connections are valid (e.g., DM trigger can't connect to comment reply)
    • All nodes are reachable from a trigger
  2. Test Run: The system simulates the workflow with random data:
    • Generates random Instagram IDs and usernames
    • Simulates webhook events
    • Executes nodes in sequence
    • Shows detailed execution logs
  3. Deployment: Only proceeds if test is successful

Validation Checks

  • โœ… Trigger node present
  • โœ… Required fields completed (connection, message template, etc.)
  • โœ… Valid node connections (no incompatible node chains)
  • โœ… All nodes reachable
  • โœ… Gmail account selected for email nodes
  • โœ… Instagram connection selected for Instagram nodes

Common Validation Errors

  • "No trigger node found": Add at least one trigger node (New Comment or New DM)
  • "Missing required field": Fill in all required configuration fields
  • "Invalid connection": DM trigger cannot connect to comment reply node
  • "Unreachable node": Ensure all nodes are connected to a trigger

Test Workflow Button

The Test Workflow button allows you to:

  • Run validation checks
  • Simulate workflow execution with random data
  • View detailed execution logs
  • Debug issues before deployment
โœ… Best Practice: Always test your workflow before deploying to production. The test uses simulated data, so it won't affect your real Instagram account.

๐Ÿ”ง Troubleshooting

Common issues and solutions to help you resolve problems quickly.

Workflow Issues

Workflow Not Triggering

  • Check Status: Ensure workflow is enabled (green toggle)
  • Verify Trigger Filters: Check if your comment/DM matches the trigger filters
  • Check Execution Limit: Free tier users may have reached the 200 execution limit
  • Verify Instagram Connection: Ensure your Instagram account is connected and active
  • Check Webhook Logs: View logs in the workflow console to see if events are being received

Workflow Disabling Takes Too Long

  • This is usually due to active SSE (Server-Sent Events) connections
  • Wait a few seconds - the system will timeout after 5 seconds
  • Refresh the page if it's stuck
  • The workflow will be disabled even if the UI shows loading

Automation Rules Issues

Rule Not Executing

  • Check Rule Status: Ensure rule is active
  • Verify Post ID: Rule must match the exact Instagram post ID
  • Check Trigger Match: Comment must match trigger type (keyword, any comment, or specific user)
  • Response Limit: Rule may have reached its max_responses limit
  • Self-Comment Filter: Rules don't trigger on your own comments

Instagram Connection Issues

Cannot Connect Instagram Account

  • Business Account Required: Only Instagram Business accounts are supported
  • Facebook Page Required: Your Instagram Business account must be connected to a Facebook Page
  • Permissions: Ensure you grant all required permissions during OAuth
  • Token Expired: Reconnect your account if tokens have expired

Message Template Issues

Variables Not Replacing

  • Check Syntax: Use {variable} or {{variable}} format
  • Variable Name: Ensure variable name matches exactly (case-sensitive)
  • Available Variables: Check which variables are available for your node type
  • Empty Result: If variable doesn't exist, it will be replaced with empty string

Subscription & Limits

Cannot Create Workflow

  • Check Limit: You may have reached your plan's workflow limit
  • Upgrade Plan: Consider upgrading to increase limits
  • Delete Old Workflows: Remove unused workflows to free up slots

Execution Limit Reached

  • Free Tier: 200 execution limit includes both workflows and automation rules
  • Upgrade Required: Upgrade to Basic+ for unlimited executions
  • Check Dashboard: View your current execution count in the dashboard

Getting Help

๐Ÿ“ž Support: If you're still experiencing issues, check the workflow execution logs, automation rule responses, and webhook logs for detailed error messages. Contact support at support@zamili.ai with error details.

โœจ Best Practices

Workflow Design

  • Start Simple: Begin with basic workflows and gradually add complexity
  • Test Thoroughly: Always test workflows before enabling them
  • Use Conditions: Add condition nodes to filter and route messages appropriately
  • Handle Errors: Always add error edges to handle failed actions gracefully

Need Help?

Visit zamili.ai or contact our support team

ยฉ 2025 Zamili.ai - Instagram Automation Platform