Status: OK
POST /webhook.php — plug this into ManyChat External Requestsql/schema.sql in MySQL.config.php (DB, OpenAI key, optional Bearer).knowledge/ and run php ingest.php.https://YOUR_DOMAIN/webhook.php, Method: POSTContent-Type: application/json + Authorization: Bearer <>{
"text": "{{last_text_input}}",
"user_id": "{{user.id}}",
"name": "{{user.name}}",
"channel": "{{channel.type}}"
}
reply → Custom Field (e.g., ai_reply) and send it in a Message.