Add or Remove One List Contact

mailjet.manage_list_contact
ActionEmailconnection required

Calls the Mailjet API with the connection's credentials.

Add, remove or unsubscribe one contact on a list, creating the contact when Mailjet has not seen the address before.

Connection

Required
Yes — the node will not save without one
Auth type
Username & password
Providers
Mailjet
Secret shape
{"username": "<public API key>", "password": "<private API key>"} (+ "sms_token" for the SMS API)
Config it needs
sender_email, sender_name, sms_from, contacts_list_id, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

5 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
email
Email address of the contact to add to or remove from the list.
stringYes—email formatjane@example.com
action
What to do with the membership: addforce subscribes even a previously unsubscribed contact, addnoforce leaves that unsubscribe in place, remove deletes the membership and unsub marks it unsubscribed.
stringYes—one of "addforce", "addnoforce", "remove", "unsub"addnoforce
list_id
Numeric id of the Mailjet contact list. Falls back to the list on the connection when left blank.
stringNo——10012345
name
Display name to store when the contact is created by this call.
stringNo———
properties
Contact property values to set at the same time, as a JSON object.
objectNo———

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "action": "addnoforce",
  "email": "jane@example.com",
  "list_id": "10012345"
}

Output

One shape.

result

FieldTypeExample
applied
True when Mailjet accepted the change.
boolean—
email
The address that was acted on.
string—
action
The action Mailjet applied.
string—
list_id
The list the contact was managed on.
string—
contact_id
Mailjet's numeric id for the contact.
string—
result
The record Mailjet returned for the call.
object—
{
  "action": "",
  "applied": false,
  "contact_id": "",
  "email": "",
  "list_id": "",
  "result": {}
}

See Add or Remove One List Contact run in a workflow.

In a technical demo we add the Mailjet connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.