getResponse.json•6.73 kB
{
"nodeType": "n8n-nodes-base.getResponse",
"displayName": "GetResponse",
"description": "Consume GetResponse API",
"version": 1,
"properties": [
{
"name": "email",
"displayName": "Email",
"type": "string",
"default": "",
"placeholder": "name@email.com",
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"create"
]
}
}
},
{
"name": "campaignId",
"displayName": "Campaign Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"create"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "The end user specified key of the user defined data. Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>.",
"placeholder": "Add Field",
"typeOptions": {
"multipleValues": true
},
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"create"
]
}
}
},
{
"name": "contactId",
"displayName": "Contact ID",
"type": "string",
"default": "",
"description": "ID of contact to delete",
"required": true,
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"delete"
]
}
}
},
{
"name": "options",
"displayName": "Options",
"type": "collection",
"default": {},
"description": "This makes it possible to pass the IP from which the contact unsubscribed. Used only if the messageId was send.",
"placeholder": "Add Field",
"options": [
{
"name": "ipAddress",
"displayName": "IP Address",
"type": "string",
"default": "",
"description": "This makes it possible to pass the IP from which the contact unsubscribed. Used only if the messageId was send."
},
{
"name": "messageId",
"displayName": "Message ID",
"type": "string",
"default": "",
"description": "The ID of a message (such as a newsletter, an autoresponder, or an RSS-newsletter). When passed, this method will simulate the unsubscribe process, as if the contact clicked the unsubscribe link in a given message."
}
],
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"delete"
]
}
}
},
{
"name": "returnAll",
"displayName": "Return All",
"type": "boolean",
"default": false,
"description": "Whether to return all results or only up to a given limit",
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"getAll"
]
}
}
},
{
"name": "limit",
"displayName": "Limit",
"type": "number",
"default": 20,
"description": "Max number of results to return",
"typeOptions": {
"minValue": 1
},
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"getAll"
],
"returnAll": [
false
]
}
}
},
{
"name": "updateFields",
"displayName": "Update Fields",
"type": "collection",
"default": {},
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>",
"placeholder": "Add Field",
"options": [
{
"name": "campaignId",
"displayName": "Campaign Name or ID",
"type": "options",
"default": "",
"description": "Choose from the list, or specify an ID using an <a href=\"https://docs.n8n.io/code/expressions/\">expression</a>"
}
],
"displayOptions": {
"show": {
"resource": [
"contact"
],
"operation": [
"update"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "get",
"description": "Create a new contact",
"options": [
{
"name": "Create",
"value": "create",
"description": "Create a new contact"
},
{
"name": "Delete",
"value": "delete",
"description": "Delete a contact"
},
{
"name": "Get",
"value": "get",
"description": "Get a contact"
},
{
"name": "Get Many",
"value": "getAll",
"description": "Get many contacts"
},
{
"name": "Update",
"value": "update",
"description": "Update contact properties"
}
],
"displayOptions": {
"show": {
"resource": [
"contact"
]
}
}
},
{
"name": "authentication",
"displayName": "Authentication",
"type": "options",
"default": "apiKey",
"options": [
{
"name": "API Key",
"value": "apiKey"
},
{
"name": "OAuth2",
"value": "oAuth2"
}
]
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "contact",
"options": [
{
"name": "Contact",
"value": "contact"
}
]
}
],
"credentialsConfig": [
{
"name": "getResponseApi",
"required": true
},
{
"name": "authentication",
"required": false
},
{
"name": "resource",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}