GetResponse

Create and list contacts in GetResponse email marketing.

MarketingAPI key6 actionsAll integrations

On this page
  1. Connect
  2. Call it from a workflow
  3. Actions (6)
  4. create-contact
  5. create-newsletter
  6. create-or-update-contact
  7. custom_api_call
  8. find-campaign-list
  9. find-contact
  10. Details

Connect

Auth type: API key (secret_text). Pass the provider's API key or token as the connection's credential. It is sealed at rest and only opened on the server when an action runs.

  • From your agent: integrations {action: "connect", piece, credentials, env} stores the credentials for dev, prod or all. Answers name the fields, never the values.
  • Or set the integration's project secrets with the secrets tool (SLACK_BOT_TOKEN, DISCORD_WEBHOOK_URL, TELEGRAM_BOT_TOKEN, TWILIO_ACCOUNT_SID and TWILIO_AUTH_TOKEN …): a call uses the connection, else those secrets. integrations {action: "catalog", piece} lists which ones work.
  • Try one action now with integrations {action: "call", piece, piece_action, input}. It really sends.

Call it from a workflow

step.ctx.integrations.invoke("getresponse", action, input) resolves with the provider's answer and rejects when GetResponse isn't connected or refuses. Wrap it in step.run so a retry sends once. See step.ctx. Its actions run through the integration runner, which the server's operator turns on: integrations {action: "catalog", piece: "getresponse"} says whether yours can call it.

Workflow
// workflows/notify.ts: call GetResponse when a booking is confirmed
import { on } from "@appbricx/workflows";

export const tellGetresponse = on.transition("booking", "status", "confirmed", async (_event, step) => {
  // Recorded once: a retry doesn't send it twice. Rejects when GetResponse isn't connected.
  const output = await step.run("GetResponse", () =>
    step.ctx.integrations.invoke("getresponse", "create-contact", {
      "campaignId": "<campaignId>",
      "email": "<email address>"
    }),
  );
  step.ctx.log("GetResponse answered", output);
});
Try it from your agent
{
  "name": "integrations",
  "arguments": {
    "project_id": "<project-id>",
    "action": "call",
    "piece": "getresponse",
    "piece_action": "create-contact",
    "input": {
      "campaignId": "<campaignId>",
      "email": "<email address>"
    },
    "env": "dev"
  }
}
From another backend (connector proxy)
curl -X POST "$APP_ORIGIN/__appbricx/connector-proxy/getresponse/create-contact" \
  -H "Authorization: Bearer $APP_KEY" \
  -H "content-type: application/json" \
  -d '{"props":{"campaignId":"<campaignId>","email":"<email address>"}}'

Actions

create-contact

Create Contact. Creates a new contact in a GetResponse campaign.

Also accepted as create_contact.

InputTypeDescription
campaignIdrequiredid (picked from your account)Select the campaign list to use.
emailrequiredtextThe email address of the contact to create.
nameoptionaltextThe contact name as it should appear in GetResponse.

create-newsletter

Create Newsletter. Creates a newsletter and queues it to send to the selected campaign.

InputTypeDescription
campaignIdrequiredid (picked from your account)Select the campaign list to use.
fromFieldIdrequiredid (picked from your account)Select the verified sender address to use.
replyToFieldIdoptionalid (picked from your account)Select the verified sender address to use.
subjectrequiredtextThe subject line for the newsletter.
nameoptionaltextAn internal name for the newsletter inside GetResponse. Leave empty to use the subject.
htmlContentoptionallong textThe newsletter content in HTML format.
plainContentoptionallong textThe plain text version of the newsletter content.

create-or-update-contact

Create or Update Contact. Creates a contact or updates the existing contact with the same email in the selected campaign.

InputTypeDescription
campaignIdrequiredid (picked from your account)Select the campaign list to use.
emailrequiredtextThe email address used to find or create the contact.
nameoptionaltextThe contact name as it should appear in GetResponse.

custom_api_call

Custom API Call. Make a custom API call to a specific endpoint

InputTypeDescription
urlrequiredobject (depends on other props)url
methodrequiredone of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD"Method
headersrequiredobjectAuthorization headers are injected automatically from your connection.
queryParamsrequiredobjectQuery Parameters
body_typeoptionalone of "none" | "json" | "form_data" | "raw"Body Type
bodyoptionalobject (depends on other props)Body
response_is_binaryoptionalbooleanEnable for files like PDFs, images, etc.
failsafeoptionalbooleanNo Error on Failure
timeoutoptionalnumberTimeout (in seconds)
followRedirectsoptionalbooleanFollow redirects

find-campaign-list

Find Campaign List. Finds campaign lists by name.

InputTypeDescription
nameoptionaltextEnter part or all of the campaign list name. Leave empty to return the first lists in the account.
limitoptionalnumberThe maximum number of campaign lists to return.

find-contact

Find Contact. Finds a contact by email address.

InputTypeDescription
emailrequiredtextThe email address of the contact to find.
campaignIdoptionalid (picked from your account)Select the campaign list to use.

Details

Id
getresponse
Category
Marketing
Tags
email, marketing-automation, landing-pages, webinars
Package
@activepieces/piece-getresponse@0.0.2
Runs
Through the integration runner