cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1676
Views
0
Helpful
6
Replies

Email workflow not getting triggered on incomming message

vbj1995
Level 1
Level 1

Hi team,

I have setup a email channel by following the below links

https://www.cisco.com/c/en/us/support/docs/unified-communications/webex-cloud-connected-uc/218139-configure-webex-connect-email-asset-with.html#anc1

https://help.imiconnect.io/docs/wxcc-email-asset-creation

In the 2nd link I couldnt figure out "Configure Email Forwarding for Receiving Incoming Emails". I am not sure how to configure outbound webhook. Does the endpoint url mentioned in the form is configured via control hub. kindly help me configuring the endpoint URL.

6 Replies 6

Connect - Tanuj
Cisco Employee
Cisco Employee

Hi @vbj1995 - In addition to the details shared by Arindam above, there are some enhancements that we have made in docs as well. Let us know if you need any additional info regarding this.

Tanuj Goyal
Webex Connect

Arindam Dhar
Cisco Employee
Cisco Employee

Hi @vbj1995 ,

Here's the link to the documentation on how to set up an outbound webhook. Since gmail sends an email to the forwarding address with the verification code that you need to provide in order to set-up email forwarding successfully, you will need to set-up an outbound webhook for your email app asset, and select 'incoming email' option to receive incoming email for that asset on the provided webhook. Below is a sample of the data received on outbound web-hook for the verification email that gmail sends:

 

{
  "userId": "",
  "channel": "Email",
  "from": "forwarding-noreply@google.com",
  "to": "[\"ce781690b64d46eaccb3533ac9c242e7@emailstaging.tk\"]",
  "appId": "a_638052990738640000",
  "event": "Inbound Message",
  "ts": "2022-11-29T07:14:47.293+01:00",
  "tid": "3f46fa54-0f3c-48b0-8f1e-cebdf2a2c36c",
  "subject": "(#715115876) Gmail Forwarding Confirmation - Receive Mail from atarindam@gmail.com",
  "textMessage": "atarindam@gmail.com has requested to automatically forward mail to your email\\r\\naddress ce781690b64d46eaccb3533ac9c242e7@emailstaging.tk.\\r\\nConfirmation code: 715115876\\r\\n\\r\\nTo allow atarindam@gmail.com to automatically forward mail to your address,\\r\\nplease click the link below to confirm the request:\\r\\n\\r\\nhttps:\\/\\/mail-settings.google.com\\/mail\\/vf-%5BANGjdJ_Puritwzpw1shiCB99njRpHSFvKzgu70NaPQ9vC5gHfGWNB97eUnLy8X0mhpje7tYMW7NE2ZH8YPRj-BrfMY2KDe7NOAB55JXF3I0wYSBAeHHaIb1C6ytQL-E%5D-wI04hQhQcwqUeIDTIU1PP2fZnss\\r\\n\\r\\nIf you click the link and it appears to be broken, please copy and paste it\\r\\ninto a new browser window. If you aren't able to access the link, you\\r\\ncan send the confirmation code\\r\\n715115876 to atarindam@gmail.com.\\r\\n\\r\\nThanks for using Gmail!\\r\\n\\r\\nSincerely,\\r\\n\\r\\nThe Gmail Team\\r\\n\\r\\nIf you do not approve of this request, no further action is required.\\r\\natarindam@gmail.com cannot automatically forward messages to your email address\\r\\nunless you confirm the request by clicking the link above. If you accidentally\\r\\nclicked the link, but you do not want to allow atarindam@gmail.com to\\r\\nautomatically forward messages to your address, click this link to cancel this\\r\\nverification:\\r\\nhttps:\\/\\/mail-settings.google.com\\/mail\\/uf-%5BANGjdJ-YK6UqNy4iU6AqnPLkaRt1PQwSP22CaAKgOhK-J-dFjD0c9TmZtH7bJruwxb9J8duCz3yt-FVQySmGu2rpzulcqn8rA2dabXxMj7bPrBwuXQ2NuOoEWHho8ns%5D-wI04hQhQcwqUeIDTIU1PP2fZnss\\r\\n\\r\\nTo learn more about why you might have received this message, please\\r\\nvisit: http:\\/\\/support.google.com\\/mail\\/bin\\/answer.py?answer=184973.\\r\\n\\r\\nPlease do not respond to this message. If you'd like to contact the\\r\\nGoogle.com Team, please log in to your account and click 'Help' at\\r\\nthe top of any page. Then, click 'Contact Us' along the bottom of the\\r\\nHelp Center.\\r\\n",
  "htmlMessage": "",
  "attachments": "[]"
}

In the above snippet, you will find the verification code in the subject, (shown in red in this example). Use this code to verify the forwarding address on gmail's settings page within the Forwarding and POP/IMAP tab.

  

Hi @Arindam Dhar 

In the link https://help.imiconnect.io/docs/wxcc-email-asset-creation

"Now, navigate to the Settings page in your Gmail account and click Forwarding and POP/IMAP tab and paste the Forwarding Address in that field and then click Add. Gmail will send an OTP to this forwarding address at this stage. A copy of this incoming email will be forwarded to the Outbound Webhook you've configured to track incoming emails."

How to receive the OTP email from the "Forwarding Address"?

Oliver

Hi @oliverleung1111

Please refer to the screenshot on the same page. We'll address the ambiguity caused by the content you referred to.

Screenshot 2024-06-13 at 5.25.54 PM.png

 

Connect - Tanuj
Cisco Employee
Cisco Employee

Hi @vbj1995 - Let me get back to you on this by Monday.

Tanuj Goyal
Webex Connect

Hi @Connect - Tanuj,

I am really stuck. Any sort of help or guidance would be grateful. Thanks