Building Your First Chatbot with DMflow

Document Domains Setup

Start by entering your domain name and description, then hit “Add.” Remember, domain names are case-sensitive and cannot be edited post-creation. DMflow supports Chinese and English; choose your preferred language. Note that language settings affect only the caching service, not the core functionality.

Create Document Domains

Upload your sitemap.xml file by clicking on it. Use your own URL or the sitemap.xml file as needed, similar to the Communeify example shown.

Upload sitemap.xml

Wait until the system processes and indexes all documents. You don’t need to monitor the status of sitemap.xml; click “Reindex” if you update your website, and the system will automatically update your web pages.

Parsed sitemap.xml

Once processing is complete, you can begin testing.

Test

For consistent responses to certain questions, you can save them via Logs -> History. These responses are cached and retrieving them will not affect your points.

Cache record

To publish your chatbot on web or other platforms like LINE, Messenger, Telegram, etc., you need to set it as a production version. Connect your bot to this domain in the next step.

Publish

Navigate to Domain Management -> Bot Management -> Add Bot to proceed.

Add Bot

Note: To adjust bot prompts, go to Settings -> Modify Prompts. Use the “Chit-Chat” domain for initial testing if unsure about prompts. Select the SYS_PROMPT role to provide context for conversations.

Modify Prompts

Generate Prompts

Creating Your Chatbot

Once your chatbot is configured, select “Conversation Flow,” set it up as shown below, and save your changes. Test your setup; if the initial test fails, adjust a node and update. View the test results in the following image. Upon successful testing, click “Publish” and choose your export channels.

Bot Flow

Bot Test Result

Go to “Management” -> “Settings” to enable the necessary channels. Once activated, revisit the chatbot section to select and publish to the desired channels. For web embedding, you must publish the production version first; go to [Publish] -> [Link to Production Version] before deploying, testing in development, and syncing to production.

Manager Channels

Bot Channels

Share on:
Previous: Building a Form-Based Chatbot with DMflow.chat
DMflow.chat

DMflow.chat

An all-in-one chatbot integrating Facebook, Instagram, Telegram, LINE, and web platforms, supporting ChatGPT and Gemini models. Features include history retention, push notifications, marketing campaigns, and customer service transfer.