Publish Management: Interface Connecting the World
The publish page controls three lifelines of the bot’s external communication: Key List, Webhook, and Publish Management.
1. Key List (API Keys)
Here manages the keys used to call DMflow API. Please keep these keys safe, as they are credentials for external systems to interact with your bot.
2. Webhook (Event Trigger)
Webhook allows DMflow to proactively push data to the URL you specified when specific events occur.
Currently, we provide the core bot:lead event, which is crucial for marketing automation. You can use this event to view more detailed application instructions at How to use DMflow to collect lead data.
Payload Example (bot:lead)
When potential customer data is collected, the system will send JSON in the following format:
{
"events": [
{
"resource": "bot:lead",
"action": "add",
"payload": {
"email": "[email protected]",
"username": "TestUser",
"phone": "0912345678",
"customs": {
"birthday": "1995-03-15"
},
"timezone": "+08:00"
}
}
]
}
3. Publish Management
This is the center for controlling bot “Versions”.
- Production: The version your end users actually interact with.
- Operation: You can officially push the latest changes in development to the production environment here.
