with Shipengine and Slack?
Emit new event when a new label is shipped. See the docs
Emit new event when a new event is tracked. See the docs
Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts
Emit new event when a specific keyword is mentioned in a channel
Suspend the workflow until approved by a Slack message. See the documentation
By default, all labels are returned, 25 at a time, starting with the most recently created ones. You can combine multiple filter options to narrow-down the results. See the docs
The Shipengine API enables robust automation possibilities for shipping logistics. From label creation, rate comparison, to tracking shipments, the API provides the tools to streamline e-commerce and shipping workflows. By harnessing Shipengine's capabilities through Pipedream, you can build seamless integrations that connect your shipping operations with other business processes, enhancing efficiency and reducing manual overhead.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    shipengine: {
      type: "app",
      app: "shipengine",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      method: "post",
      url: `https://api.shipengine.com/v1/addresses/validate`,
      headers: {
        "API-Key": `${this.shipengine.$auth.api_key}`,
        "Content-Type": `application/json`,
      },
    })
  },
})
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 to perform common Slack actions or write your own code against the Slack API.
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    slack_v2: {
      type: "app",
      app: "slack_v2",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://slack.com/api/users.profile.get`,
      headers: {
        Authorization: `Bearer ${this.slack_v2.$auth.oauth_access_token}`,
      },
    })
  },
})