GetResponse
Create and list contacts in GetResponse email marketing.
On this page
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.
// 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);
});{
"name": "integrations",
"arguments": {
"project_id": "<project-id>",
"action": "call",
"piece": "getresponse",
"piece_action": "create-contact",
"input": {
"campaignId": "<campaignId>",
"email": "<email address>"
},
"env": "dev"
}
}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.
| Input | Type | Description |
|---|---|---|
campaignIdrequired | id (picked from your account) | Select the campaign list to use. |
emailrequired | text | The email address of the contact to create. |
nameoptional | text | The contact name as it should appear in GetResponse. |
create-newsletter
Create Newsletter. Creates a newsletter and queues it to send to the selected campaign.
| Input | Type | Description |
|---|---|---|
campaignIdrequired | id (picked from your account) | Select the campaign list to use. |
fromFieldIdrequired | id (picked from your account) | Select the verified sender address to use. |
replyToFieldIdoptional | id (picked from your account) | Select the verified sender address to use. |
subjectrequired | text | The subject line for the newsletter. |
nameoptional | text | An internal name for the newsletter inside GetResponse. Leave empty to use the subject. |
htmlContentoptional | long text | The newsletter content in HTML format. |
plainContentoptional | long text | The 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.
| Input | Type | Description |
|---|---|---|
campaignIdrequired | id (picked from your account) | Select the campaign list to use. |
emailrequired | text | The email address used to find or create the contact. |
nameoptional | text | The contact name as it should appear in GetResponse. |
custom_api_call
Custom API Call. Make a custom API call to a specific endpoint
| Input | Type | Description |
|---|---|---|
urlrequired | object (depends on other props) | url |
methodrequired | one of "GET" | "POST" | "PATCH" | "PUT" | "DELETE" | "HEAD" | Method |
headersrequired | object | Authorization headers are injected automatically from your connection. |
queryParamsrequired | object | Query Parameters |
body_typeoptional | one of "none" | "json" | "form_data" | "raw" | Body Type |
bodyoptional | object (depends on other props) | Body |
response_is_binaryoptional | boolean | Enable for files like PDFs, images, etc. |
failsafeoptional | boolean | No Error on Failure |
timeoutoptional | number | Timeout (in seconds) |
followRedirectsoptional | boolean | Follow redirects |
find-campaign-list
Find Campaign List. Finds campaign lists by name.
| Input | Type | Description |
|---|---|---|
nameoptional | text | Enter part or all of the campaign list name. Leave empty to return the first lists in the account. |
limitoptional | number | The maximum number of campaign lists to return. |
find-contact
Find Contact. Finds a contact by email address.
| Input | Type | Description |
|---|---|---|
emailrequired | text | The email address of the contact to find. |
campaignIdoptional | id (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