๐ 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
- Navigate to Integrations in your dashboard
- Click Connect Instagram
- Authorize Zamili.ai to access your Instagram Business account
- Your account will appear in the connections list
Step 2: Create Your First Workflow
- Go to Workflows in the dashboard
- Click Create New Workflow
- Add a trigger node (e.g., "New Comment" or "New DM")
- Add condition nodes to filter messages
- Add action nodes to respond automatically
- Connect nodes with edges
- 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.
๐ 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:
Workflow Components
Trigger nodes start your workflow when a specific event occurs (e.g., new comment, new DM).
Condition nodes check if certain criteria are met (e.g., keyword contains, post ID matches).
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
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.
{
"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"]
]
}
Fake Meta API Trace
๐งฉ Node Reference
Trigger Nodes
Triggers when a new comment is posted on your Instagram posts.
Example Use Case
When someone comments "learn" or "AI" on your post, trigger a workflow that sends them a DM with educational resources.
Triggers when you receive a new direct message.
Example Use Case
Automatically respond to DMs containing "pricing" with your pricing information, or "support" with help resources.
Triggers when a user clicks on a specific tracked link (e.g., from Bio or Story).
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
Checks if a condition is true or false, routing the workflow accordingly. Supports multiple condition types.
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
Stores a value in the workflow context for use in subsequent nodes.
Checks email addresses stored in a variable and branches to true/false paths based on format validity.
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.
Parses quick-reply / menu selections from a DM. Supports numeric choices (1/2/3) and keyword matching.
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.
Persists multi-step conversation state (check/set/update/clear) so you can build guided flows with context stored per user/thread.
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.
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.
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.
Creates a tracked short link that redirects to your URL. Useful for tracking clicks and analytics.
Action Nodes
Sends a direct message to a user. Can be used to reply to DMs or send messages triggered by comments.
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}}
Replies to an Instagram comment publicly on your post.
Example Use Case
After successfully sending a DM, reply to the comment with "Check your DMs! ๐ฉ" to let the user know.
Delivers transactional or follow-up emails through your connected Gmail account. Supports HTML or plain text bodies with variable interpolation.
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
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.
Contains: learn,ai
Contains "learn"?
Workshop link
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
- Navigate to Posts in your dashboard
- Select a post you want to automate
- Click Manage or Automation Rules
- Click Add Rule
- 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
- Save and activate your rule
๐ Rule Configuration
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
๐ณ 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
๐ค Variables & Placeholders
Zamili.ai supports dynamic variable interpolation in message templates. Use placeholders to personalize your automated responses.
Available Variables
Comment-Related Variables
DM-Related Variables
System Variables
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?"
{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:
- 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
- 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
- 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
๐ง 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
โจ 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