Business Hours
This node calls Webex Engage Business Hours API to append the message to an existing conversation on Webex Engage. While configuring flows in Webex Connect, you’d need to use this node for appending a message from the end-user to an existing conversation. So that the same will be reflected in the agent desktop.
Authorization
Refer to section Node Authorizations for more information. .
Methods and Outcomes
Here’s a brief description of various methods, and corresponding output variables and node outcomes associated with each of the methods.
Method Name - Business Hours
In the tables below,
Method Name | Output Variables | Node Outcomes |
---|---|---|
Business Hours | Id AliasId Name Desciption Business Hours | onInvalidData onError onInvalidChoice onauthorizationfail Nomatch _inWorkingHours _onHolidays _inOverrides _onTimeout |
Method Name - Business Hours
Input Variables | Output Variable |
---|---|
appid - message - inAppTs - inappPayloadObject nonPCIComplianceReasonObject messagetext isPCIValidationDone domain conversationId errorMsg1 errorMsg2 liveChatDomain nodetest1 | TransId |
Method Name - Append Conversation
Input Variables | Output Variables |
---|---|
CHANNEL – SMS CONVERSATION ID - $(n6.conversationId) • Conversation from the output variables of the Search Conversation is the Conversation ID DIRECTION – Inbound TEXT - $(n2.sms.message) • Message from the output variables of the start node is the message. The message will be appended to the conversation TIMESTAMP (IN UTC) - $(n2.sms.ts) • $(n2.sms.ts) is the timestamp of the message Note: when the variable is selected from the previous node output variables, the nodeid will be the prefix for the variable. Eg., sms.serviceNumber is an output variable of start node (node id 2), then the variable becomes $(n2.sms.serviceNumber) | TransId |
Method Name - Append Conversation
Input Variables | Output Variables |
---|---|
CHANNEL – EMAIL CONVERSATION ID - $(n6.conversationId) _ Conversation from the output variables of the Search Conversation is the Conversation ID DIRECTION – Inbound FROM EMAIL ID - $(n2.email.emailId) _ emailId in the output variables of the start node is from email id EMAIL SUBJECT - $(n2.email.subject) _ Subject in the output variables of the start node is the subject TO RECEPIENTS - $(n2.email.toAddresses) _ ToAddresses in the output variables of the start node is the To Recepients CC RECEPIENTS - $(n2.email.ccRecipients) _ ccRecepients in the output variables of the start node is the CC Recepients TIMESTAMP (IN UTC) - $(n2.email.timestamp) _ Timestamp in the output variables of the start node which contains the Email Timestamp EMAIL HEADERS - $(n2.email.headers) _ Email Headersvin the output variables of the start node is the Email Headers PLAIN BODY - $(messageStrippedText) _ messageStrippedText in the custom variables is the Plain body HTML BODY - $(messageHTML) _ MessageHTML in the custom variables is the HTML body STRIPPED HTML - $(messageStrippedHTML) _ messageStrippedHTML in the custom variables is the Stripped HTML ATTACHMENT - $(parseDataAttachment) * This is one of the Evaluate node variables which contains the processed incoming attachment array object from customer respectively | TransId |
Note
When the variable is selected from the previous node output variables, the nodeid will be the prefix for the variable. Eg., sms.serviceNumber is an output variable of start node (node id 2), then the variable becomes $(n2.sms.serviceNumber)
Method Name - Append Conversation
Note
Append Conversation has two versions 1.0 and 1.3
Input Variables | Output Variables | Versions |
---|---|---|
CHANNEL – LIVECHAT CONVERSATION ID - $(n6.conversationId) (Here, n6 is the respective node ID) _ Conversation from the output variables of the Search Conversation is the Conversation ID DIRECTION – Inbound MESSAGE TYPE - Text Text With Attachments Live Chat Form Response Live Chat with Carousel Response _ Live Chat with Quick Replies Response Live Chat Quick Replies Response Object/Live Chat Carousels Response Object: $(Inappmessaging.postback) DIRECTION – Outbound MESSAGE TYPE - Text With Attachments Live Chat Text with Carousel _ Live Chat Text with Quick Replies Live Chat Quick Replies Object/Live Chat Carousels Object: $(n.send.template) or $(n.send.quickreplies) ATTACHMENT - $(parseDataAttachment) _ This is one of the Evaluate node variables which contains the processed incoming attachment array object from customer respectively TEXT - $(message) _ message is one of the custom variables which contains the message TIMESTAMP (IN UTC) - $(n2.inappmessaging.timestamp) _ $(n2.inappmessaging.timestamp) is one of the start node variables which contains the Timestamp DIRECTION – Announcement TEXT - $(message) _ message is one of the custom variable which contains the message TIMESTAMP (IN UTC) - $(n2.inappmessaging.timestamp) _ Timestamp in the output variables of the start node which contains the Timestamp * $(n2.inappmessaging.timestamp) is one of the start node variables which contains the Timestamp | TransId | Text With Attachments, Live Chat Carousel Response, Live Chat Quick Replies Response are available in v1.3 for Inbound Direction ext With Attachments, Live Chat Text With Carousel, Live Chat Text With Quick Replies are available in v1.3 for Outbound Direction Announcement is available in v1.3 |
Note
When the variable is selected from the previous node output variables, the nodeid will be the prefix for the variable. Eg., sms.serviceNumber is an output variable of start node (node id 2), then the variable becomes $(n2.sms.serviceNumber)
Method Name - Append Conversation
Input Variables | Output Variables |
---|---|
CHANNEL – WhatsApp CONVERSATION ID - $(conversationId) _ Conversation ID from the output variables of the Search Conversation Direction – Inbound/Outbound Text – $(messageFromCustomer) _ This is one of the Evaluate node variables which contains the processed incoming message from the customer. _ Message text from end customer Timestamp - $(n2.whatsapp.ts) _ Timestamp in UTC Attachments – $(parseDataAttachment) * This is one of the Evaluate node variables which contains the processed incoming attachment array object from customer respectively | TransId |
Updated about 13 hours ago