@pipedream/slack 0.4.28 → 0.4.29

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 CHANGED
@@ -21,11 +21,11 @@ However, if you'd like to use your own bot registered with the [Slack API](https
21
21
 
22
22
  The Slack Bot requires a bot token to allow your Pipedream workflows to authenticate as your bot. The extra set up 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.
23
23
 
24
- ## Getting Started
24
+ # Getting Started
25
25
 
26
26
  You can install the Pipedream Slack app in the [Accounts](https://pipedream.com/accounts) section of your account, or directly in a workflow
27
27
 
28
- ### Accounts
28
+ ## Accounts
29
29
 
30
30
  1. Visit [https://pipedream.com/accounts](https://pipedream.com/accounts).
31
31
  2. Click on the **Click Here To Connect An App** button in the top-right.
@@ -33,7 +33,7 @@ You can install the Pipedream Slack app in the [Accounts](https://pipedream.com/
33
33
  4. This will open a new window asking you to allow Pipedream access to your Slack workspace. Choose the right workspace where you'd like to install the app, then click **Allow**.
34
34
  5. That's it! You can now use this Slack account in any [actions](#workflow-actions), or [link it to any code step](/connected-accounts/#connecting-accounts).
35
35
 
36
- ### Within a workflow
36
+ ## Within a workflow
37
37
 
38
38
  1. [Create a new workflow](https://pipedream.com/new).
39
39
  2. Select your trigger (HTTP, Cron, etc.).
@@ -42,6 +42,6 @@ You can install the Pipedream Slack app in the [Accounts](https://pipedream.com/
42
42
  5. Click the **Connect Account** button near the top of the step. This will prompt you to select any existing Slack accounts you've previously authenticated with Pipedream, or you can select a **New** account. Clicking **New** opens a new window asking you to allow Pipedream access to your Slack workspace. Choose the right workspace where you'd like to install the app, then click **Allow**.
43
43
  6. That's it! You can now connect to the Slack API using any of the Slack actions within a Pipedream workflow.
44
44
 
45
- ## Troubleshooting
45
+ # Troubleshooting
46
46
 
47
47
  Please [reach out](https://pipedream.com/support/) to the Pipedream team with any technical issues or questions about the Slack integration. We're happy to help!
@@ -6,10 +6,10 @@ 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.16",
9
+ version: "0.1.17",
10
10
  type: "action",
11
11
  props: {
12
- ...common.props,
12
+ slack: common.props.slack,
13
13
  thread_ts: {
14
14
  propDefinition: [
15
15
  slack,
@@ -43,5 +43,6 @@ export default {
43
43
  "mrkdwn",
44
44
  ],
45
45
  },
46
+ ...common.props,
46
47
  },
47
48
  };
@@ -5,10 +5,10 @@ export default {
5
5
  key: "slack-send-block-kit-message",
6
6
  name: "Send Message Using Block Kit",
7
7
  description: "Send a message using Slack's Block Kit UI framework 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.2.15",
8
+ version: "0.2.16",
9
9
  type: "action",
10
10
  props: {
11
- ...common.props,
11
+ slack: common.props.slack,
12
12
  conversation: {
13
13
  propDefinition: [
14
14
  common.props.slack,
@@ -29,5 +29,6 @@ export default {
29
29
  "notificationText",
30
30
  ],
31
31
  },
32
+ ...common.props,
32
33
  },
33
34
  };
@@ -5,10 +5,10 @@ export default {
5
5
  key: "slack-send-custom-message",
6
6
  name: "Send a Custom Message",
7
7
  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",
8
- version: "0.2.15",
8
+ version: "0.2.16",
9
9
  type: "action",
10
10
  props: {
11
- ...common.props,
11
+ slack: common.props.slack,
12
12
  conversation: {
13
13
  propDefinition: [
14
14
  common.props.slack,
@@ -75,5 +75,6 @@ export default {
75
75
  "thread_ts",
76
76
  ],
77
77
  },
78
+ ...common.props,
78
79
  },
79
80
  };
@@ -5,10 +5,10 @@ export default {
5
5
  key: "slack-send-direct-message",
6
6
  name: "Send a Direct Message",
7
7
  description: "Send a direct message to a single user. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
8
- version: "0.2.16",
8
+ version: "0.2.17",
9
9
  type: "action",
10
10
  props: {
11
- ...common.props,
11
+ slack: common.props.slack,
12
12
  conversation: {
13
13
  propDefinition: [
14
14
  common.props.slack,
@@ -48,5 +48,6 @@ export default {
48
48
  ],
49
49
  description: "Optionally provide an image URL to use as the bot icon for this message.",
50
50
  },
51
+ ...common.props,
51
52
  },
52
53
  };
@@ -5,10 +5,10 @@ export default {
5
5
  key: "slack-send-group-message",
6
6
  name: "Send Group Message",
7
7
  description: "Send a direct message to a group of users. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
8
- version: "0.2.16",
8
+ version: "0.2.17",
9
9
  type: "action",
10
10
  props: {
11
- ...common.props,
11
+ slack: common.props.slack,
12
12
  conversation: {
13
13
  propDefinition: [
14
14
  common.props.slack,
@@ -48,5 +48,6 @@ export default {
48
48
  ],
49
49
  description: "Optionally provide an image URL to use as the bot icon for this message.",
50
50
  },
51
+ ...common.props,
51
52
  },
52
53
  };
@@ -5,10 +5,10 @@ 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.11",
8
+ version: "0.0.12",
9
9
  type: "action",
10
10
  props: {
11
- ...common.props,
11
+ slack: common.props.slack,
12
12
  conversation: {
13
13
  propDefinition: [
14
14
  common.props.slack,
@@ -48,6 +48,7 @@ export default {
48
48
  ],
49
49
  description: "Optionally provide an image URL to use as the bot icon for this message.",
50
50
  },
51
+ ...common.props,
51
52
  },
52
53
  async run() {
53
54
  if (this.include_sent_via_pipedream_flag) {
@@ -6,10 +6,10 @@ export default {
6
6
  key: "slack-send-message-private-channel",
7
7
  name: "Send Message to a Private Channel",
8
8
  description: "Send a message to a private channel and customize the name and avatar of the bot that posts the message. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
9
- version: "0.2.16",
9
+ version: "0.2.17",
10
10
  type: "action",
11
11
  props: {
12
- ...common.props,
12
+ slack: common.props.slack,
13
13
  conversation: {
14
14
  propDefinition: [
15
15
  common.props.slack,
@@ -54,5 +54,6 @@ export default {
54
54
  ],
55
55
  description: "Optionally provide an image URL to use as the bot icon for this message.",
56
56
  },
57
+ ...common.props,
57
58
  },
58
59
  };
@@ -6,10 +6,10 @@ export default {
6
6
  key: "slack-send-message-public-channel",
7
7
  name: "Send Message to a Public Channel",
8
8
  description: "Send a message to a public channel and customize the name and avatar of the bot that posts the message. See [postMessage](https://api.slack.com/methods/chat.postMessage) or [scheduleMessage](https://api.slack.com/methods/chat.scheduleMessage) docs here",
9
- version: "0.2.15",
9
+ version: "0.2.16",
10
10
  type: "action",
11
11
  props: {
12
- ...common.props,
12
+ slack: common.props.slack,
13
13
  conversation: {
14
14
  propDefinition: [
15
15
  common.props.slack,
@@ -54,5 +54,6 @@ export default {
54
54
  ],
55
55
  description: "Optionally provide an image URL to use as the bot icon for this message.",
56
56
  },
57
+ ...common.props,
57
58
  },
58
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipedream/slack",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "description": "Pipedream Slack Components",
5
5
  "main": "slack.app.mjs",
6
6
  "keywords": [