Summary: After many attempts I successfully followed
this Microsoft template to make the
HelpDesk app. I wanted to integrate the Slack,
post message action in my flow. I got it to work before but that was before I had to recreate the HelpDesk app but now I can't seem to get the Slack integration to work correctly.
My environment: Like the article outlined I created a Sharepoint (SP) site and list and gave the proper editing permissions to those in my Office 365 domain. My user is a domain admin. Powerapps has the following data connections: SP, Office365 User, Office 365 Outlook, and Slack. The powerapp should connect to the flow in the same exact way as outlined ni the article and the flow has the exact same setup aside from one extra step (Slack post message). A picture of where Slack fits in the flow is at the bottom of this post. I don't know how to get the data the error is pulling from. I think it's json but if someone could explain or post a link to an explanation of how to get error data from flow and powerapps that would be really helpful to me.
Error:
InvalidTemplate. Unable to process template language expressions in action 'Post_message' inputs at line '1' and column '2472': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_slack']['connectionId']' cannot be evaluated because property 'shared_slack' doesn't exist, available properties are 'shared_sharepointonline, shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.
Steps I've taken:
I've checked out
this article and export/reimporting the flow didn't fix the problem. I've tried posting to different channels, private and public, using only text verses dynamic content from