with Plaid and Slack?
Emit new event when there are new accounts available at the Financial Institution. See the documentation
Emit new event when there are changes to Plaid Items or the status of asynchronous processes. See the documentation
Emit new event when there are new updates available for a connected account. See the documentation
Emit new events on new Slack interactivity events sourced from Block Kit interactive elements, Slash commands, or Shortcuts
Exchange a Link public_token for an API access_token. See the documentation
Creates a valid public_token for an arbitrary institution ID, initial products, and test credentials. See the documentation
Suspend the workflow until approved by a Slack message. See the documentation
Creates a user ID and token to be used with Plaid Check, Income, or Multi-Item Link flow. See the documentation
The Plaid API offers a multitude of financial data operations, enabling developers to manage and interact with user bank accounts, transactions, identity info, and more, all within a secure and compliant ecosystem. Integrating Plaid with Pipedream can unlock powerful automations, like syncing transaction data to accounting software, verifying user identities for KYC compliance, and automating financial alerts or reporting.
module.exports = defineComponent({
  props: {
    plaid: {
      type: "app",
      app: "plaid",
    }
  },
  async run({steps, $}) {
    const { Configuration, PlaidApi } = require('plaid');
    
    const client = new PlaidApi(
      new Configuration({
        basePath: this.plaid.$auth.environment,
        baseOptions: {
          headers: {
            'PLAID-CLIENT-ID': this.plaid.$auth.client_id,
            'PLAID-SECRET': this.plaid.$auth.client_secret,
          },
        },
      })
    );
    
    // Test request
    const request = {
      count: 10,
      offset: 0,
      country_codes: ['US'],
    };
    
    const response = await client.institutionsGet(request);
    return response.data.institutions;
  },
})
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}`,
      },
    })
  },
})