Setup

Config
Real secrets are not shown or edited here. Edit config.php on hosting for API tokens.

Upload Checklist

  1. Import schema.sql in MySQL.
  2. Copy config.example.php to config.php.
  3. Add WhatsApp sender phone IDs and API keys.
  4. Add Gemini/AI API key.
  5. Add CRM lead/summary webhook URLs.
  6. Configure inbound webhook URL in WhatsApp provider.
  7. Add cron worker every minute.

Inbound webhook:

https://ai.diyacrm.in/api/inbound-whatsapp.php?token=0ebfcfa037388d0091f0178789d8467be29579ecb0f8dc2d