View as Markdown
Reply.io icon

Reply.io ACTION

Create or Update Contact and Push to Campaign

Create a new contact, or update if they already exist, and push contact to the selected campaign. See the docs here
  • Action
  • Writes data
  • Destructive
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Reply.io account once, then configure and run Create or Update Contact and Push to Campaign 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: "reply_io-create-and-push-to-campaign",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    reply_io: { authProvisionId: "apn_xxxxxxx" },
    campaignId: "Campaign",
    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.

Create or Update Contact and Push to Campaign inputs
Property Type Description
campaignId Campaign string
The campaign identifier
Required Dynamic
email Email string
The contact's email address
Required
firstName First Name string
The contact's first name
Required
lastName Last Name string
The contact's last name
Optional
company Company string
The contact's company
Optional
city City string
The contact's city
Optional
state State string
The contact's state
Optional
country Country string
The contact's country
Optional
title Title string
The contact's title
Optional
phone Phone string
The contact's phone number
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
reply_io-create-and-push-to-campaign
Version
0.0.2
App
Reply.io
Authentication
API key
Read-only
No
Destructive
Yes
Open world
Yes