INDIEFUNNELS ACTION
Update Member
Updates a Member specified by ID. See the documentation
- Action
- Writes data
- Destructive
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's INDIEFUNNELS account once, then configure and run Update Member 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: "indiefunnels-update-member",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
indiefunnels: { authProvisionId: "apn_xxxxxxx" },
memberId: "Member ID",
name: "Name",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "indiefunnels-update-member",
"configured_props": {
"indiefunnels": { "authProvisionId": "apn_xxxxxxx" },
"memberId": "Member ID",
"name": "Name"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "indiefunnels",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "indiefunnels-update-member",
arguments: {
memberId: "Member ID",
name: "Name",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
memberId Member ID | string | The ID of the member to update Required Dynamic |
name Name | string | The name of the member Optional |
groups Member Groups | string[] | Member group ID(s) to which the member belongs Optional Dynamic |
approved Approved | boolean | Member approval status Optional |
contactId Contact ID | string | Contact ID of the member Optional Dynamic |
billingPhone Billing Address Phone | string | Billing address phone number Optional |
billingCompanyName Billing Address Company | string | Billing address company name Optional |
billingCompanyId Billing Address Company ID | string | Billing address company ID Optional |
billingCountry Billing Address Country | string | Billing address country. 2-letter ISO 3166 code Optional |
billingState Billing Address State | string | Billing address state Optional |
billingCity Billing Address City | string | Billing address city Optional |
billingZipCode Billing Address Zip Code | string | Billing address zip code Optional |
billingAddress Billing Address Line 1 | string | Billing address line 1 Optional |
billingAddress2 Billing Address Line 2 | string | Billing address line 2 Optional |
shippingPhone Shipping Address Phone | string | Shipping address phone number Optional |
shippingCompanyName Shipping Address Company | string | Shipping address company name Optional |
shippingCompanyId Shipping Address Company ID | string | Shipping address company ID Optional |
shippingCountry Shipping Address Country | string | Shipping address country. 2-letter ISO 3166 code Optional |
shippingState Shipping Address State | string | Shipping address state Optional |
shippingCity Shipping Address City | string | Shipping address city Optional |
shippingZipCode Shipping Address Zip Code | string | Shipping address zip code Optional |
shippingAddress Shipping Address Line 1 | string | Shipping address line 1 Optional |
shippingAddress2 Shipping Address Line 2 | string | Shipping address line 2 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
- indiefunnels-update-member
- Version
- 0.0.2
- App
- INDIEFUNNELS
- Authentication
- API key
- Read-only
- No
- Destructive
- Yes
- Open world
- Yes
- Source
- View on GitHub ↗