Skip to main content

Hi All, 

 

I am simply trying to send a slack channel message whenever an opportunity moves to closed won stage.  

 

I have an opportunity record trigger asycn flow that simply runs down the 'run async' path and has a decision check on the opportunity stage. If closed won, it runs down to Send Slack Message action and I have populated the required fields, slack app, slack workspace, executive action as, slack conversation id, and the slack message. 

 

However, during debug in my developer sandbox, I keep getting the error message:  

We couldn't run action

Send Slack Message because something went wrong.

 

Hide Error

 

Info

Error

An error occurred. Try again, or contact Salesforce Customer Support and provide this error ID: 1299900440-35892 (820288246)

Inputs

slackAppIdForToken = A03269G3DNE

slackWorkspaceIdForToken = T0AUVR7GZ62

userIdForToken = null

slackConversationId = C0AUUNER0PP

slackBotName = null

slackMessage = {!tt_SlackClosedWonNotification} (Hello team, A new opportunity has been marked Closed Won. Here are the details: Opportunity: Test Contract Type Account: 001WG00001AjV6DYAV Owner: Amount: Type: New Business)

viewApiName = null

recordId = {!$Record.Id} (006WG00000sl8HZYAY)

slackMessageTimestamp = null 

 

Am I doing something wrong? The details appear to be grabbing the correct values from my test opportunity? Perhaps my slack conversation id is incorrect? 

 

Thanks in advance.  

 

-Roman 

 

#Slack Community  #Slack Developers  #Slack

2 个回答
  1. 5月28日 01:43

    @Gohar Clients thanks for the message back. I was able to solve the issue FYI by using the alternative send message to slack channel DML instead. That slack action only needed a slack channel id and an email template. 

0/9000