View as Markdown
Constant Contact icon

Constant Contact ACTION

Update Contact

Update an existing contact. See the documentation
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Constant Contact 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: "constant_contact-update-contact",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    constant_contact: { authProvisionId: "apn_xxxxxxx" },
    contactId: "Contact Id",
    emailAddress: "Email Address",
  },
})

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
contactId Contact Id string
Unique ID of contact
Required Dynamic
emailAddress Email Address string
The contact's email address.
Optional
permissionToSend Permission To Send string
Identifies the type of permission that the Constant Contact account has been granted to send email to the contact.
Optional
firstName First Name string
The first name of the contact.
Optional
lastName Last Name string
The last name of the contact.
Optional
jobTitle Job Title string
The job title of the contact.
Optional
companyName Company Name string
The name of the company where the contact works.
Optional
updateSource Update Source string
Describes who updated the contact. Your integration must accurately identify update_source for compliance reasons.
Required
birthdayMonth Birthday Month string
The month value for the contact's birthday. The birthdayMonth is required if you use birthdayDay.
Optional
birthdayDay Birthday Day string
The day value for the contact's birthday. The birthdayDay is required if you use birthdayMonth.
Optional
anniversary Anniversary string
The anniversary date for the contact. For example, this value could be the date when the contact first became a customer of an organization in Constant Contact. Valid date formats are MM/DD/YYYY, M/D/YYYY, YYYY/MM/DD, YYYY/M/D, YYYY-MM-DD, YYYY-M-D,M-D-YYYY, or M-DD-YYYY.
Optional
numberOfPhoneNumbers Number Of Phone Numbers integer
The number of phone numbers of the contact.
Optional
numberOfStreetAddresses Number Of Street Addresses integer
The number of street addresses of the contact.
Optional
listMemberships List Membership string[]
Array of lists to which the contact is being subscribed, up to a maximum of 50.
Optional Dynamic
taggings Taggings string[]
Array of tags assigned to the contact, up to a maximum of 50.
Optional Dynamic
numberOfNotes Number Of Notes integer
The number of notes in the contact.
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
constant_contact-update-contact
Version
0.0.4
App
Constant Contact
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes