Skip to content

Commit

Permalink
update slack workflow instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
CherrelleTucker committed Feb 24, 2024
1 parent e0e3536 commit 928250a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion sendOpenActionItemsSlackWorkflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@ It incorporates with a Slack WORKFLOW, not a Slack App.
Prerequisites
1. Access to Google Sheets where the action items are tracked.
2. A Slack Workspace with an incoming webhook set up for the target channel/user. This is generally limited to paid accounts only.
3. Google Apps Script environment linked to the Google Sheet.
3. A Slack Workflow set up with:
A. "Starts with a webhook"
- Set up Variables: Key: "Action" Data type: text
Example HTTP body in Google Apps Script:
{
"Actions": "Example text"
}
- Web request URL (Generated in the Slack Workflow)
B. "Send a message to @User"
-"Add a message": "Insert a Variable" - "Actions"<- Set up in previous step. Save.
4. Google Apps Script environment linked to the Google Sheet.
Script Functions
1. prepareName(name): Normalizes a name string by removing specific characters and converting to lowercase.
Expand Down

0 comments on commit 928250a

Please sign in to comment.