Skip to content

Email Behavior Commit Message

Element Name: EMailBehaviorCommitMessage

Category: EMail

Description: Basic functionality consisting of an input field for structuring JavaScript code, with customizable name and a group of configurable parameters to create contact lists for outbound campaigns in Genesys Cloud.

Functionality: Allows the creation of a contact list for outbound campaigns in Genesys Cloud, obtaining all the data related to these lists and details of the records through an integration with Genesys Cloud's REST API. For more details on these Genesys Cloud APIs, visit Genesys Cloud Documentation.

EMail Behavior Commit Message Action Configuration Fields

[Name] Unique descriptor of the configuration box for identification purposes in the flow.

Configuration Subset

Note: 📑 For the following configuration tag group, it is required to have entities previously created. If the entity is not created, you can add it using the "Add Entity" button located within the same tag.

[Specify contact channel]: Mandatory field of list type where the name of the previously configured email channel in the channel configuration must be selected.

[Entity where email ID is stored. Required to send message as a reply]: Mandatory field of list type where the entity that will contain the email ID must be stored. This data is obtained from the Google Cloud administrator.

-- Example: The Google Cloud administration interface is shown in the image below, and the location of the application name is highlighted:

[Entity where email references are stored]: Mandatory field of list type where it will store email references.

[Entity where email sender is stored]: Mandatory field of list type where the entity that will store the email sender's email address must be selected.

[Entity where email CC is stored]: Mandatory field of list type where the entity that will store the email recipient(s) email address(es) "Carbon Copy" or CC must be selected.

[Entity where email BCC is stored]: Mandatory field of list type where the entity that will store the email recipient(s) email address(es) "Blind Carbon Copy" or BCC must be selected.

[Entity where email subject is stored]: Mandatory field of list type where the entity that will store the email subject must be selected.

[Entity where email body is stored in plain text]: Mandatory field of list type where the entity that will store the email body must be selected.

[Entity where email body is stored in HTML]: Mandatory field of list type where the entity that will store the email body, but unlike the previous tag, it is saved in HTML format, which is ultimately what the Assistant/Executive can view in their chat engine.

[Entity where it is specified whether to mark the email as unread]: Mandatory field of list type where the action of the executive on the received email is returned. Takes the value of False if the email is Sent and True if the email is Unread.

[Specify if the message will be sent as a reply]: Mandatory field of boolean type. Select YES to maintain the email history, if NO is selected, the email that the executive replies to will be displayed as a new email, without retaining the history.

Example of implementation Email Behavior Commit Message

-- Input

[Specify the contact channel]:Email <-- email@gmail.com

[Entity where the email ID is stored. Required to send message as a reply]:g-message_id <-- LynnGmail.

[Entity where email references are stored. Required to send message as a reply]:g-message_reference

[Entity where the email sender will be stored]:g_from <-- luis@gmail.com

[Entity where the email cc will be stored]:g_cc <-- jefedeluis@gmail.com

[Entity where email bcc will be stored]:g_bcc <-- "empty"

[Entity where the email subject will be stored]:g_subject <-- Accepted Contract

[Entity where the email body will be stored in plain text]:g_body_plain <-- Through this email I inform you that the client has accepted the contract, please start the sales process.

[Entity where the email body will be stored in html]:g_body_html <--

lessCopy code

<div class="gmail\_quote">
    <div dir="ltr" class="gmail\_attr">On Wed, Jan 4, 2023 at 5:50 PM, Lynn Arev (<a href="mailto:luis@gmail.com">luis@gmail.com</a>) wrote:<br></div> 
        <blockquote class="gmail\_quote" 
            style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> 
            <div dir="ltr">this is the first response: Contract in progress</div>
            <div class="gmail\_quote"> 
                <div dir="ltr" class="gmail\_attr">On Wed, Jan 4, 2023 at 5:46 PM, carlos reyes (&lt;<a href="mailto:luis@gmail.com" target="\_blank">test@gmail.com</a>&gt;) wrote:<br>
                </div> 
                <blockquote class="gmail\_quote" 
                    style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                    <div dir="ltr">Through this email I inform you that the client has accepted the contract, please start the sales process.</div> 
                </blockquote> 
            </div> 
        </blockquote>         
</div>

[Entity to specify if you want to mark the email as unread]:g_read <--False

[Specifies whether the message will be sent as a reply]:g_replica <--YES

-- Result

This is the screen display with the entity information:

Suggested Documentation

Email solution operation schema