View as Markdown
MixMax icon

MixMax ACTION

Update Contact

Update a specific contact. See the docs here
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's MixMax account once, then configure and run Update Contact 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: "mixmax-update-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    mixmax: { authProvisionId: "apn_xxxxxxx" },
    id: "Contact Id",
    email: "Email",
  },
})

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.

Update Contact inputs
Property Type Description
id Contact Id string
Email address for the contact. This is unique per contact. If you create a new contact with the same email as an existing contact, then this will be merged with that contact.
Required Dynamic
email Email string
Email address for the contact. This is unique per contact. If you create a new contact with the same email as an existing contact, then this will be merged with that contact.
Optional
name Name string
Name for the contact.
Optional
contactId Contact Id string
Google ID that this contact is associated with, if a contact exists in Google Contacts for this same email address.
Optional
salesforceId Salesforce Id string
Salesforce ID that this contact is associated with, if a contact exists in Salesforce (either contact or a lead) for this same email address.
Optional
meta Meta object
Contact variables from any source (ex. Salesforce) that are used to populate sequences and templates variables.
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
mixmax-update-contact
Version
0.0.2
App
MixMax
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes