Get Contact

mailjet.get_contact
ActionEmailconnection required

Calls the Mailjet API with the connection's credentials.

Fetch one contact by its Mailjet id or by its email address.

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

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

FieldTypeRequiredDefaultConstraintsExample
contact
The contact to act on: Mailjet's numeric contact id, or the contact's email address.
stringYes——jane@example.com

Example configuration

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

{
  "contact": "jane@example.com"
}

Output

One shape.

result

FieldTypeExample
ID
Mailjet's numeric id for the contact.
number—
Email
The contact's email address.
string—
Name
The contact's name, when one is set.
string—
IsExcludedFromCampaigns
True when the contact is excluded from all campaigns.
boolean—
CreatedAt
When the contact was created, ISO-8601.
string—
LastActivityAt
When the contact last engaged, ISO-8601.
string—
DeliveredCount
How many messages reached this contact.
number—
IsOptInPending
True while a double opt-in is unconfirmed.
boolean—
IsSpamComplaining
True when the contact reported spam.
boolean—
{
  "CreatedAt": "",
  "DeliveredCount": 0,
  "Email": "",
  "ID": 0,
  "IsExcludedFromCampaigns": false,
  "IsOptInPending": false,
  "IsSpamComplaining": false,
  "LastActivityAt": "",
  "Name": ""
}

See Get 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.