View as Markdown
Membado icon

Membado ACTION

Add or Remove Tags from User

Assign tags to or remove them from a user. See the documentation
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Membado account once, then configure and run Add or Remove Tags from User from your backend or agent.

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 result = await pd.actions.run({
  id: "membado-add-remove-tags",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    membado: { authProvisionId: "apn_xxxxxxx" },
    mail: "Email address",
    tagsAdd: ["Tags to add"],
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add or Remove Tags from User inputs
Property Type Description
mail Email address string
The email address of the user to whom the tags should be assigned or removed
Required
tagsAdd Tags to add string[]
A list of tag IDs to assign to the user.
Optional
tagsRemove Tags to remove string[]
A list of tag IDs to remove from the user.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
membado-add-remove-tags
Version
0.0.2
App
Membado
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes