@pipedream/slack 0.10.1 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/actions/add-emoji-reaction/add-emoji-reaction.mjs +6 -1
- package/actions/approve-workflow/approve-workflow.mjs +6 -1
- package/actions/archive-channel/archive-channel.mjs +6 -1
- package/actions/create-channel/create-channel.mjs +6 -1
- package/actions/create-reminder/create-reminder.mjs +6 -1
- package/actions/delete-file/delete-file.mjs +6 -1
- package/actions/delete-message/delete-message.mjs +6 -1
- package/actions/find-message/find-message.mjs +6 -1
- package/actions/find-user-by-email/find-user-by-email.mjs +6 -1
- package/actions/get-current-user/get-current-user.mjs +68 -0
- package/actions/get-file/get-file.mjs +6 -1
- package/actions/invite-user-to-channel/invite-user-to-channel.mjs +6 -1
- package/actions/kick-user/kick-user.mjs +6 -1
- package/actions/list-channels/list-channels.mjs +6 -1
- package/actions/list-files/list-files.mjs +6 -1
- package/actions/list-group-members/list-group-members.mjs +6 -1
- package/actions/list-members-in-channel/list-members-in-channel.mjs +6 -1
- package/actions/list-replies/list-replies.mjs +6 -1
- package/actions/list-users/list-users.mjs +6 -1
- package/actions/reply-to-a-message/reply-to-a-message.mjs +6 -1
- package/actions/send-block-kit-message/send-block-kit-message.mjs +6 -1
- package/actions/send-large-message/send-large-message.mjs +6 -1
- package/actions/send-message/send-message.mjs +6 -1
- package/actions/send-message-advanced/send-message-advanced.mjs +6 -1
- package/actions/send-message-to-channel/send-message-to-channel.mjs +6 -1
- package/actions/send-message-to-user-or-group/send-message-to-user-or-group.mjs +6 -1
- package/actions/set-channel-description/set-channel-description.mjs +6 -1
- package/actions/set-channel-topic/set-channel-topic.mjs +6 -1
- package/actions/set-status/set-status.mjs +6 -1
- package/actions/update-group-members/update-group-members.mjs +6 -1
- package/actions/update-message/update-message.mjs +6 -1
- package/actions/update-profile/update-profile.mjs +6 -1
- package/actions/upload-file/upload-file.mjs +12 -1
- package/actions/verify-slack-signature/verify-slack-signature.mjs +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Overview
|
|
2
2
|
|
|
3
|
-
The Pipedream Slack
|
|
3
|
+
The Pipedream app for Slack enables you to build event-driven workflows that interact with the Slack API. Once you authorize the app's access to your workspace, you can use [Pipedream workflows](/workflows/) to perform common Slack [actions](#workflow-actions) or [write your own code](/code/) against the Slack API.
|
|
4
4
|
|
|
5
|
-
The Pipedream Slack
|
|
5
|
+
The Pipedream app for Slack is not a typical app. You don't interact with it directly as a bot, and it doesn't add custom functionality to your workspace out of the box. It makes it easier to automate anything you'd typically use the Slack API for, using Pipedream workflows.
|
|
6
6
|
|
|
7
7
|
- Automate posting updates to your team channels
|
|
8
8
|
- Create a bot to answer common questions
|
|
@@ -11,13 +11,13 @@ The Pipedream Slack app is not a typical app. You don't interact with it directl
|
|
|
11
11
|
|
|
12
12
|
# Getting Started
|
|
13
13
|
|
|
14
|
-
## Should I use the Slack or
|
|
14
|
+
## Should I use the app for Slack or bot for Slack on Pipedream?
|
|
15
15
|
|
|
16
|
-
The Slack
|
|
16
|
+
The app for Slack is the easiest and most convenient option to get started. It installs the official Pipedream bot into your Slack workspace with just a few clicks.
|
|
17
17
|
|
|
18
|
-
However, if you'd like to use your own bot registered with the [Slack API](https://api.slack.com), you can use the [
|
|
18
|
+
However, if you'd like to use your own bot registered with the [Slack API](https://api.slack.com), you can use the [bot for Slack](https://pipedream.com/apps/slack-bot) instead.
|
|
19
19
|
|
|
20
|
-
The Slack
|
|
20
|
+
The bot for Slack requires a bot token to allow your Pipedream workflows to authenticate as your bot. The extra setup steps allow you to list your custom bot on the Slack Marketplace or install the bot on other workspaces as your bot's name instead of as Pipedream.
|
|
21
21
|
|
|
22
22
|
## Accounts
|
|
23
23
|
|
|
@@ -44,7 +44,6 @@ The Slack Bot requires a bot token to allow your Pipedream workflows to authenti
|
|
|
44
44
|
|
|
45
45
|
- **Real-time CRM Updates**: Configure a Pipedream workflow to listen for specific trigger words in sales-related Slack channels. When mentioned, the workflow fetches corresponding data from a CRM tool like Salesforce and posts the latest deal status or customer information in the Slack conversation for quick reference.
|
|
46
46
|
|
|
47
|
-
|
|
48
47
|
# Troubleshooting
|
|
49
48
|
|
|
50
49
|
## Error Responses
|
|
@@ -64,6 +63,7 @@ Example of a successful response:
|
|
|
64
63
|
If the `ok` property is false, Slack will also include an `error` property with a short machine-readable code that describes the error.
|
|
65
64
|
|
|
66
65
|
Example of a failure:
|
|
66
|
+
|
|
67
67
|
```json
|
|
68
68
|
{
|
|
69
69
|
"ok": false,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-add-emoji-reaction",
|
|
5
5
|
name: "Add Emoji Reaction",
|
|
6
6
|
description: "Add an emoji reaction to a message. [See the documentation](https://api.slack.com/methods/reactions.add)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.16",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-approve-workflow",
|
|
6
6
|
name: "Approve Workflow",
|
|
7
7
|
description: "Suspend the workflow until approved by a Slack message. [See the documentation](https://pipedream.com/docs/code/nodejs/rerun#flowsuspend)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.5",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-archive-channel",
|
|
6
6
|
name: "Archive Channel",
|
|
7
7
|
description: "Archive a channel. [See the documentation](https://api.slack.com/methods/conversations.archive)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.24",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: true,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-create-channel",
|
|
5
5
|
name: "Create a Channel",
|
|
6
6
|
description: "Create a new channel. [See the documentation](https://api.slack.com/methods/conversations.create)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.25",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-create-reminder",
|
|
5
5
|
name: "Create Reminder",
|
|
6
6
|
description: "Create a reminder. [See the documentation](https://api.slack.com/methods/reminders.add)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.25",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-delete-file",
|
|
5
5
|
name: "Delete File",
|
|
6
6
|
description: "Delete a file. [See the documentation](https://api.slack.com/methods/files.delete)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-delete-message",
|
|
5
5
|
name: "Delete Message",
|
|
6
6
|
description: "Delete a message. [See the documentation](https://api.slack.com/methods/chat.delete)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-find-message",
|
|
5
5
|
name: "Find Message",
|
|
6
6
|
description: "Find a Slack message. [See the documentation](https://api.slack.com/methods/search.messages)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.26",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-find-user-by-email",
|
|
5
5
|
name: "Find User by Email",
|
|
6
6
|
description: "Find a user by matching against their email. [See the documentation](https://api.slack.com/methods/users.lookupByEmail)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import slack from "../../slack.app.mjs";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
key: "slack-get-current-user",
|
|
5
|
+
name: "Get Current User",
|
|
6
|
+
description: "Retrieve comprehensive context about the authenticated Slack member, combining `auth.test`, `users.info`, `users.profile.get`, and `team.info` payloads. Returns the user’s profile (name variants, email, locale, timezone, status, admin flags), raw auth test data, and workspace metadata (domain, enterprise info, icons). Ideal when you need to confirm which user token is active, tailor messages to their locale/timezone, or ground an LLM in the member’s role and workspace before executing other Slack actions. [See Slack API docs](https://api.slack.com/methods/auth.test).",
|
|
7
|
+
version: "0.0.1",
|
|
8
|
+
type: "action",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
14
|
+
props: {
|
|
15
|
+
slack,
|
|
16
|
+
},
|
|
17
|
+
async run({ $ }) {
|
|
18
|
+
const authContext = await this.slack.authTest();
|
|
19
|
+
|
|
20
|
+
const userId = authContext.user_id || authContext.user;
|
|
21
|
+
if (!userId) {
|
|
22
|
+
throw new Error(`Unable to determine user ID from auth context. Received: ${JSON.stringify(authContext)}`);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
let userInfo;
|
|
26
|
+
try {
|
|
27
|
+
userInfo = await this.slack.usersInfo({
|
|
28
|
+
user: userId,
|
|
29
|
+
include_locale: true,
|
|
30
|
+
});
|
|
31
|
+
} catch (error) {
|
|
32
|
+
// Gracefully degrade if scope not available
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let userProfile;
|
|
36
|
+
try {
|
|
37
|
+
userProfile = await this.slack.getUserProfile({
|
|
38
|
+
user: userId,
|
|
39
|
+
});
|
|
40
|
+
} catch (error) {
|
|
41
|
+
// Gracefully degrade if scope not available
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
let teamInfo;
|
|
45
|
+
try {
|
|
46
|
+
teamInfo = await this.slack.getTeamInfo();
|
|
47
|
+
} catch (error) {
|
|
48
|
+
// Gracefully degrade if scope not available
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
const user = userInfo?.user;
|
|
52
|
+
const profile = userProfile?.profile ?? user?.profile;
|
|
53
|
+
const summaryName =
|
|
54
|
+
profile?.real_name_normalized
|
|
55
|
+
|| profile?.display_name_normalized
|
|
56
|
+
|| authContext.user
|
|
57
|
+
|| userId;
|
|
58
|
+
|
|
59
|
+
$.export("$summary", `Retrieved Slack user ${summaryName}`);
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
authContext,
|
|
63
|
+
user,
|
|
64
|
+
profile,
|
|
65
|
+
team: teamInfo?.team,
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-get-file",
|
|
5
5
|
name: "Get File",
|
|
6
6
|
description: "Return information about a file. [See the documentation](https://api.slack.com/methods/files.info)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-invite-user-to-channel",
|
|
5
5
|
name: "Invite User to Channel",
|
|
6
6
|
description: "Invite a user to an existing channel. [See the documentation](https://api.slack.com/methods/conversations.invite)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-kick-user",
|
|
6
6
|
name: "Kick User",
|
|
7
7
|
description: "Remove a user from a conversation. [See the documentation](https://api.slack.com/methods/conversations.kick)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.24",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: true,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-channels",
|
|
5
5
|
name: "List Channels",
|
|
6
6
|
description: "Return a list of all channels in a workspace. [See the documentation](https://api.slack.com/methods/conversations.list)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-files",
|
|
5
5
|
name: "List Files",
|
|
6
6
|
description: "Return a list of files within a team. [See the documentation](https://api.slack.com/methods/files.list)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.52",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-group-members",
|
|
5
5
|
name: "List Group Members",
|
|
6
6
|
description: "List all users in a User Group. [See the documentation](https://api.slack.com/methods/usergroups.users.list)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.9",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-members-in-channel",
|
|
5
5
|
name: "List Members in Channel",
|
|
6
6
|
description: "Retrieve members of a channel. [See the documentation](https://api.slack.com/methods/conversations.members)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-replies",
|
|
5
5
|
name: "List Replies",
|
|
6
6
|
description: "Retrieve a thread of messages posted to a conversation. [See the documentation](https://api.slack.com/methods/conversations.replies)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-list-users",
|
|
5
5
|
name: "List Users",
|
|
6
6
|
description: "Return a list of all users in a workspace. [See the documentation](https://api.slack.com/methods/users.list)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: true,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -6,7 +6,12 @@ export default {
|
|
|
6
6
|
key: "slack-reply-to-a-message",
|
|
7
7
|
name: "Reply to a Message Thread",
|
|
8
8
|
description: "Send a message as a threaded reply. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
|
|
9
|
-
version: "0.1.
|
|
9
|
+
version: "0.1.29",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
},
|
|
10
15
|
type: "action",
|
|
11
16
|
props: {
|
|
12
17
|
slack: common.props.slack,
|
|
@@ -7,7 +7,12 @@ export default {
|
|
|
7
7
|
key: "slack-send-block-kit-message",
|
|
8
8
|
name: "Build and Send a Block Kit Message",
|
|
9
9
|
description: "Configure custom blocks and send to a channel, group, or user. [See the documentation](https://api.slack.com/tools/block-kit-builder).",
|
|
10
|
-
version: "0.4.
|
|
10
|
+
version: "0.4.5",
|
|
11
|
+
annotations: {
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
openWorldHint: true,
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
},
|
|
11
16
|
type: "action",
|
|
12
17
|
props: {
|
|
13
18
|
slack: common.props.slack,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-send-large-message",
|
|
6
6
|
name: "Send a Large Message (3000+ characters)",
|
|
7
7
|
description: "Send a large message (more than 3000 characters) to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.24",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack: common.props.slack,
|
|
@@ -6,7 +6,12 @@ export default {
|
|
|
6
6
|
key: "slack-send-message",
|
|
7
7
|
name: "Send Message",
|
|
8
8
|
description: "Send a message to a user, group, private channel or public channel. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.20",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
},
|
|
10
15
|
type: "action",
|
|
11
16
|
props: {
|
|
12
17
|
slack: common.props.slack,
|
|
@@ -7,7 +7,12 @@ export default {
|
|
|
7
7
|
key: "slack-send-message-advanced",
|
|
8
8
|
name: "Send Message (Advanced)",
|
|
9
9
|
description: "Customize advanced setttings and send a message to a channel, group or user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.7",
|
|
11
|
+
annotations: {
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
openWorldHint: true,
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
},
|
|
11
16
|
type: "action",
|
|
12
17
|
props: {
|
|
13
18
|
slack: common.props.slack,
|
|
@@ -6,7 +6,12 @@ export default {
|
|
|
6
6
|
key: "slack-send-message-to-channel",
|
|
7
7
|
name: "Send Message to Channel",
|
|
8
8
|
description: "Send a message to a public or private channel. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
9
|
-
version: "0.0.
|
|
9
|
+
version: "0.0.5",
|
|
10
|
+
annotations: {
|
|
11
|
+
destructiveHint: false,
|
|
12
|
+
openWorldHint: true,
|
|
13
|
+
readOnlyHint: false,
|
|
14
|
+
},
|
|
10
15
|
type: "action",
|
|
11
16
|
props: {
|
|
12
17
|
slack: common.props.slack,
|
|
@@ -7,7 +7,12 @@ export default {
|
|
|
7
7
|
key: "slack-send-message-to-user-or-group",
|
|
8
8
|
name: "Send Message to User or Group",
|
|
9
9
|
description: "Send a message to a user or group. [See the documentation](https://api.slack.com/methods/chat.postMessage)",
|
|
10
|
-
version: "0.0.
|
|
10
|
+
version: "0.0.5",
|
|
11
|
+
annotations: {
|
|
12
|
+
destructiveHint: false,
|
|
13
|
+
openWorldHint: true,
|
|
14
|
+
readOnlyHint: false,
|
|
15
|
+
},
|
|
11
16
|
type: "action",
|
|
12
17
|
props: {
|
|
13
18
|
slack: common.props.slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-set-channel-description",
|
|
5
5
|
name: "Set Channel Description",
|
|
6
6
|
description: "Change the description or purpose of a channel. [See the documentation](https://api.slack.com/methods/conversations.setPurpose)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.9",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: false,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-set-channel-topic",
|
|
5
5
|
name: "Set Channel Topic",
|
|
6
6
|
description: "Set the topic on a selected channel. [See the documentation](https://api.slack.com/methods/conversations.setTopic)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-set-status",
|
|
5
5
|
name: "Set Status",
|
|
6
6
|
description: "Set the current status for a user. [See the documentation](https://api.slack.com/methods/users.profile.set)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.9",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-update-group-members",
|
|
5
5
|
name: "Update Groups Members",
|
|
6
6
|
description: "Update the list of users for a User Group. [See the documentation](https://api.slack.com/methods/usergroups.users.update)",
|
|
7
|
-
version: "0.0.
|
|
7
|
+
version: "0.0.9",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
key: "slack-update-message",
|
|
5
5
|
name: "Update Message",
|
|
6
6
|
description: "Update a message. [See the documentation](https://api.slack.com/methods/chat.update)",
|
|
7
|
-
version: "0.1.
|
|
7
|
+
version: "0.1.24",
|
|
8
|
+
annotations: {
|
|
9
|
+
destructiveHint: true,
|
|
10
|
+
openWorldHint: true,
|
|
11
|
+
readOnlyHint: false,
|
|
12
|
+
},
|
|
8
13
|
type: "action",
|
|
9
14
|
props: {
|
|
10
15
|
slack,
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-update-profile",
|
|
6
6
|
name: "Update Profile",
|
|
7
7
|
description: "Update basic profile field such as name or title. [See the documentation](https://api.slack.com/methods/users.profile.set)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.24",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: true,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: false,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack,
|
|
@@ -8,7 +8,12 @@ export default {
|
|
|
8
8
|
key: "slack-upload-file",
|
|
9
9
|
name: "Upload File",
|
|
10
10
|
description: "Upload a file. [See the documentation](https://api.slack.com/messaging/files#uploading_files)",
|
|
11
|
-
version: "0.1.
|
|
11
|
+
version: "0.1.2",
|
|
12
|
+
annotations: {
|
|
13
|
+
destructiveHint: false,
|
|
14
|
+
openWorldHint: true,
|
|
15
|
+
readOnlyHint: false,
|
|
16
|
+
},
|
|
12
17
|
type: "action",
|
|
13
18
|
props: {
|
|
14
19
|
slack,
|
|
@@ -32,6 +37,12 @@ export default {
|
|
|
32
37
|
],
|
|
33
38
|
optional: true,
|
|
34
39
|
},
|
|
40
|
+
syncDir: {
|
|
41
|
+
type: "dir",
|
|
42
|
+
accessMode: "read",
|
|
43
|
+
sync: true,
|
|
44
|
+
optional: true,
|
|
45
|
+
},
|
|
35
46
|
},
|
|
36
47
|
async run({ $ }) {
|
|
37
48
|
const {
|
|
@@ -5,7 +5,12 @@ export default {
|
|
|
5
5
|
key: "slack-verify-slack-signature",
|
|
6
6
|
name: "Verify Slack Signature",
|
|
7
7
|
description: "Verifying requests from Slack, slack signs its requests using a secret that's unique to your app. [See the documentation](https://api.slack.com/authentication/verifying-requests-from-slack)",
|
|
8
|
-
version: "0.0.
|
|
8
|
+
version: "0.0.17",
|
|
9
|
+
annotations: {
|
|
10
|
+
destructiveHint: false,
|
|
11
|
+
openWorldHint: true,
|
|
12
|
+
readOnlyHint: true,
|
|
13
|
+
},
|
|
9
14
|
type: "action",
|
|
10
15
|
props: {
|
|
11
16
|
slack,
|