View as Markdown
GetResponse icon

GetResponse ACTION

Create Newsletter

Creates a new newsletter and puts it in a queue to send. See the docs here
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's GetResponse account once, then configure and run Create Newsletter 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: "getresponse-create-newsletter",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    getresponse: { authProvisionId: "apn_xxxxxxx" },
    name: "Name",
    type: "Type",
  },
})

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 Newsletter inputs
Property Type Description
name Name string
The newsletter name
Optional
type Type string
The newsletter type
Optional
campaignId Campaign ID string
The campaign ID
Required Dynamic
subject Subject string
The newsletter name
Required
fromFieldId From Field ID string
The From address ID
Required Dynamic
selectedCampaigns Selected Campaigns string[]
Specify which campaigns you will want the message be deliver to.
Required Dynamic
selectedContacts Selected Contacts string[]
Specify which contacts you will want the message be deliver to.
Optional Dynamic
selectedSegments Selected Segments string[]
Specify which segments you will want the message be deliver to.
Optional Dynamic
contentType Content Type string
Flag to show either Text Content or HTML Content property
Required

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
getresponse-create-newsletter
Version
0.0.2
App
GetResponse
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes