Action receive_email_message action is used in bots with GMAIL integration to receive the message text and subject of an email. The email data is stored in the variables email_message and email_subject, allowing them to be used in subsequent stages of the scenario.

Purpose: This action is designed to automate work with incoming emails, allowing you to receive text and subject for further processing. Thanks to this, scenarios can use the received data to perform various tasks based on the content and subject of messages.

Variables obtained after executing the action:

Usage: The receive_email_message block is typically used in scenarios where incoming Gmail messages need to be processed for analysis or further handling. For example, the information can be used to trigger actions, create automatic responses, or transfer data to other systems.

Example scenario:

  1. The bot receives a new email through the receive_email_message action.
  2. The email text is analyzed using AI to determine the correct topic of the request.
  3. The email, along with the identified topic, is transferred to the operator's panel, where the operator sees the agreed-upon topic of the inquiry.

image.png