# New Accounts Available (Instant) — Plaid

> Emit new event when there are new accounts available at the Financial Institution. See the documentation.

- Key: `plaid-new-accounts-available-instant`
- Type: Trigger (Instant)
- Version: 0.0.1
- App: Plaid (`plaid`) — https://pipedream.com/apps/plaid.md
- This page (HTML): https://pipedream.com/apps/plaid/triggers/new-accounts-available-instant
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/plaid/sources/new-accounts-available-instant/new-accounts-available-instant.mjs

## Description

Emit new event when there are new accounts available at the Financial Institution. [See the documentation](https://plaid.com/docs/api/webhooks/).

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `products` | `string[]` | No | List of Plaid product(s) you wish to use. If launching Link in update mode, should be omitted (unless you are using update mode to add Income or Assets to an Item); required otherwise. See the documentation. |
| `requiredIfSupportedProducts` | `string[]` | No | List of Plaid product(s) you wish to use only if the institution and account(s) selected by the user support the product. Institutions that do not support these products will still be shown in Link. The products will only be extracted and billed if the user selects an institution and account type that supports them. See the documentation. |
| `optionalProducts` | `string[]` | No | List of Plaid product(s) that will enhance the consumer's use case, but that your app can function without. Plaid will attempt to fetch data for these products on a best-effort basis, and failure to support these products will not affect Item creation. See the documentation. |
| `additionalConsentedProducts` | `string[]` | No | List of additional Plaid product(s) you wish to collect consent for to support your use case. These products will not be billed until you start using them by calling the relevant endpoints. See the documentation. |

## Returns

Events emitted by Plaid.

## Run it

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const deployed = await pd.triggers.deploy({
  id: "plaid-new-accounts-available-instant",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    plaid: { authProvisionId: "apn_xxxxxxx" },
    products: ["Products"],
    requiredIfSupportedProducts: ["Required If Supported Products"],
  },
  webhookUrl: "https://example.com/webhooks/plaid",
})

console.log(deployed.id)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/triggers/deploy \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "plaid-new-accounts-available-instant",
    "webhook_url": "https://example.com/webhooks/plaid",
    "configured_props": {
      "plaid": { "authProvisionId": "apn_xxxxxxx" },
      "products": ["Products"],
      "requiredIfSupportedProducts": ["Required If Supported Products"]
    }
  }'
```

**MCP**

MCP servers expose Plaid actions as on-demand tools.

New Accounts Available (Instant) is an event source, so your application deploys it with the Connect SDK or API and then either receives each event at a webhook URL or retrieves events on demand with the trigger events API.

## Event delivery

Every event is sent to the HTTP endpoint you choose when you deploy the source. Or: no webhook required — your app or agent can fetch recent events from the [trigger events API](https://pipedream.com/docs/connect/api-reference/list-trigger-events.md) instead.

---

- App: https://pipedream.com/apps/plaid.md · All apps: https://pipedream.com/apps
