Choose a channel
1
Open the goal
Create a goal, or edit an existing one.
2
Pick a channel
Select a channel in Slack channel. Leave it empty to turn Slack
updates off.
3
Invite the app to private channels
If the list shows Invite CostGraph to this channel, open the channel
in Slack and add the CostGraph app. CostGraph can only post where it is a
member.
@costgraph already reply in
that conversation, and don’t use the goal’s channel.
What the thread shows
When a run starts, CostGraph posts a message in the channel with the goal’s name, who started it, and a link to the run. The run’s updates follow as replies in that thread:- A summary of each step as it finishes.
- A notice when the run is waiting for someone, with a link to the run.
- The final result.
Approve from the thread
When a run needs an approval, the thread shows Approve and Deny buttons. Everyone in the channel sees them, and anyone can click one. CostGraph then checks that the person who clicked is allowed to answer, using the same rules as the app. See Approvals.- If they are allowed, CostGraph records the answer. The message changes to Approved by or Denied by with their name, and the buttons go away.
- If they haven’t connected their Slack account to CostGraph, or can’t answer, only they see a message saying they can’t approve. The buttons stay for someone who can. To connect, send the app a direct message.
- If someone already answered, the person who clicked later sees a message saying it was answered.
If CostGraph can’t post
CostGraph can’t post when the app was removed from the channel, the channel was deleted, or Slack access was revoked. The run carries on without Slack updates, and its page shows Could not post updates to Slack. To fix it, reconnect Slack or invite the app back to the channel. New runs then post again. A run that already stopped posting doesn’t resume.Next steps
Approvals
What an approval shows and who can answer.
Workflows API
Set a channel when you start a run over HTTP.