How to Create a Form Bot

How to Create a Form Chatbot with DMflow.chat

When using forms to create a database, you can define different fields to build a versatile system that meets various needs, such as customer relationship management (CRM) or automated product management.

Create a Calendar

The steps below show how to create a form bot that connects with Google Calendar to record events.

Create a Calendar

First, create the following fields in the form:

  • event (Event Name)
  • from (Start Time)
  • to (End Time)

Create Fields

After creating the fields, test them to ensure that data entry and saving work properly.

Test Calendar Insert

Create a Trigger

Next, set up triggers in the form Q&A feature.

  1. Click on “Trigger” and add a new trigger. Select “calendar.”

Click Trigger

Add Trigger

  1. Create a custom trigger named “Calendar.” Configure it to return “Success” when completed. Since this process does not require Q&A interactions, simply connect the “start” and “end” nodes.

Define Trigger

Trigger Flow

  1. Switch to the “Background Flow” section. Add a “Google Calendar” action and configure it as needed.

Background Flow

  1. After saving the settings, make sure to enable the calendar trigger and verify that the calendar feature in the form is active. Once confirmed, proceed to testing.

Testing

After completing the test, the process can be automated by the bot.

Testing Complete

Share on:
Previous: How to Use DMflow.chat Trigger for Responses
Next: How to Create Your First Chatbot Use DMflow.chat