Repository navigation
CRM mode is here — concepts ported from wacrm, rebuilt Baileys-native.
New (10 tools, 84 → 94)
- Contacts:
wa_contact_add(upsert + tags + custom fields + notes),wa_contact_list,wa_contact_tag - Pipelines:
wa_deal_create,wa_deal_move,wa_deal_list(stages: lead → qualified → proposal → negotiation → won/lost, with pipeline value totals) - Automations:
wa_automation_add/list/toggle/delete— 5 triggers (message_received, first_inbound_message, keyword_match, contact_created, tag_added) × 6 step types (send_message with {name}/{text} vars, add_tag, wait, condition, create_deal, webhook)
Engine features
- Durable waits — a
waitstep parks the execution and resumes up to 24h later, surviving restarts - Crash-safe broadcast leases — 30-min stale timeout, cursor preserved across crashes (wacrm delivery-lease pattern)
- Auto contact capture — every inbound DM auto-upserts the contact (name from pushName, message counts, last-inbound)
- SSRF guard on automation webhooks (private ranges blocked)
{name}/{text}variable interpolation in message steps
Authorized use only.