BotFlow Master FAQ

Frequently Asked Questions (FAQ)

Welcome to the BotFlow Master Q&A page! Click on any question to see the answer.

Tips

+What are the best practices for using BotFlow Master?
  • Start small: Build simple workflows first and gradually expand to more complex flows.
  • Always back up: Use Botpress’ native export feature to create a backup before making changes.
  • Test thoroughly: Before deploying your bot to production, ensure all flows and paths function as intended.

Botlin – Custom GPT

+How can I use Botlin to revise an older workflow?

You can share an older set of objects or a blueprint with Botlin to revise your workflow. Provide specific details about the changes you’d like to make, and Botlin will generate updated scripts based on your requirements.

+What are step handlers in BotFlow Master?

Step handlers are lightweight functions in the BotFlow Master script. Their purpose is to maintain the arguments and call the appropriate functions defined in the script. Step handlers are located at the bottom of the BotFlow Master template code card for easy reference.

The list of available step handlers includes:

  • print: Display a message to the user.
  • ask: Prompt the user for input.
  • select: Present single-choice options to the user.
  • image: Display an image with a message.
  • save: Store user inputs or responses.
  • decide: Evaluate conditions and branch paths.
  • end: Terminate the workflow.
  • kb: Query a knowledge base for information.
  • ai: Query GPT for AI-generated responses.
  • add: Add a single record to a database table.
  • addRecords: Add multiple records to a database table.
  • delete: Delete a single record by ID.
  • deleteRecords: Delete multiple records by IDs.
  • list: Retrieve a set number of records from a database table.
  • find: Retrieve a single record by ID.
  • update: Modify an existing record by ID.
  • merge: Insert or update records in bulk.
  • count: Count the total number of records in a table.
  • filter: Retrieve records matching specific criteria.
  • drop: Delete an entire database table.

Each step handler connects the steps to corresponding functions that can be found in the BotFlow Master template’s code card at the bottom of the script. Stay tuned—we’re working on adding more advanced functionality, like HTTP requests, autonomous actions, and seamless integration with your favorite platforms (WhatsApp, Telegram, and more)!

Revising Step Handlers

+What should I keep in mind when revising step handlers?

When revising arguments for step handlers (e.g., updating a print message), it’s essential to follow these steps:

  • Always back up: Use Botpress’ export feature to save your bot before making changes.
  • Single-choice options: If you modify a single-choice option (e.g., changing “Yes” to “Sure”), you must also update the corresponding condition in the stepsMap object. This ensures the label matches the logic for routing paths.

Failure to update the stepsMap when renaming single-choice options can cause workflow issues.