Zalo CRM & Chatwoot Sync (Zalo-Flow)

Customer segmentation, colored tag management, bidirectional Chatwoot CRM sync, and scheduled 1-to-1 or broadcast remarketing campaigns with Spintax templates.

Install

openclaw skills install @aizaloapp/zalo-crm-remarketing

Zalo CRM & Remarketing Skill (Zalo-Flow)

Overview

Zalo-Flow (https://aizalo.com) transforms a standard personal Zalo account into a multi-agent Live Chat CRM with bidirectional Chatwoot CRM synchronization and safe tag-based remarketing (MIT License with Commons Clause — for educational, technical research, and personal automation purposes only).

Core Capabilities

  • Local CRM Dashboard (http://localhost:3000): Manage conversations, pin up to 5 priority threads, assign colored customer tags, and automatically extract Vietnamese phone numbers (0xxxxxxxxx) from shared Zalo contact cards (chat.contact).
  • Bidirectional Chatwoot CRM Adapter: Sync inbound Zalo messages to Chatwoot Inbox and dispatch agent replies from Chatwoot back to Zalo in real time.
  • 1-to-1 Scheduled Messages: Schedule reminders or follow-ups with attachments and automatic cancellation if the customer replies early.
  • Tag-Based Remarketing & Spintax: Run targeted follow-up campaigns filtered by CRM tags using randomized Spintax syntax ({Chào anh|Em chào chị}) and staging attachments with combined captions (<= 1000 chars).

API Endpoints for Agents

1. Fetch Conversations Filtered with CRM Tags

bash
curl -s -H "Authorization: Bearer demo" "https://aizalo.com/api/conversations?limit=20"

2. Enqueue Tag-Based Broadcast Campaign

bash
curl -s -X POST https://aizalo.com/api/campaigns/broadcast \
  -H "Authorization: Bearer demo" \
  -H "Content-Type: application/json" \
  -d '{"tagId": "vip", "message": "{Chào|Xin chào} anh/chị, bên em gửi lịch hẹn tư vấn hôm nay ạ!", "delaySeconds": 5}'

Reference Documentation