Jump to content

I was looking if there was a way to include the teams chat integration within an incident/request workflow to get the chat transcript and each time..


Recommended Posts

Posted

I'm not sure how you've configured the node, but I would suspect that wherever you've put "Hornbill Service Account" you should be putting a Teams Chat ID.

Posted

Thanks for you reply below is the node screenshot and I have put Teams Chat ID. Let me know if you need more information:

 

image.thumb.png.8031c10aa535ef412277ae4e0ea26541.png

  • 2 weeks later...
Posted

That's a step forward that the original error is no longer happening.  You have 3 integrations in your auto task, so we need to consider what information these are sending.  The auto task is showing as completing successfully simply suggests that the auto task has completed without issue at our end, however, it's the Teams API that now has the error as something being sent to the API isn't right.

 

On the Send Message (post) integration, it might be that the chat ID is wrong, and the Teams API can't find that chat.  This should be a variable, taking the outcome from the CreateGroupChat node.  

image.png

 

Or

On the Create Group Chat the ID of one or more of the users isn't correct and therefore can't be found.  What are you using for the User IDs?

image.png

Posted

Hi James,

Thanks for your response. I am taking the outcome from the CreateGroupChat node only

image.png.d773d8d99b8079c0d8afcd068751db46.png

 

Also for chat memebers I have added owner and my email id:

image.thumb.png.7b61ab2ced71b6e7402a477538349bee.pngimage.png.2e09db3eecaf8ee7f8aadb21cd325350.png

Posted

I'm assuming you're using the  ID output parameter of &[global["MicrosoftTeamsChatCreateGroupChat"]["id"]] here (as it's hidden in the screenshot) but the pictured node shows "Continue on Error: Yes"
To ensure that the previous node was successful I'd recommend (just in the debugging stage) to post all three outputs:

  • Status - &[global["MicrosoftTeamsChatCreateGroupChat"]["status"]]
  • ID - &[global["MicrosoftTeamsChatCreateGroupChat"]["id"]]
  • Error - &[global["MicrosoftTeamsChatCreateGroupChat"]["error"]]

to the timeline immediately after creating the chat to ensure that it was successful and, if not, give you any error responses.

Posted
1 hour ago, Ranjita said:

Also for chat members I have added owner and my email id

For the Owner, you will need to use the owner's email rather than the Hornbill ID.  The Chat Members require the Microsoft ID (Object ID, or the UPN - the UPN is usually the users corporate email address).

Can you confirm that you are using the Owner's email address?

Posted

Thanks James and team for your response.

It worked for teams chat however it got failed for chat transcript where I am expecting that it should show all the communication that is present in that chat.

image.thumb.png.c69af0773539df2caf3e7a3644197c93.png

 

image.png.af1115a1cc6f798acb314681ffb4561b.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...