Add or update a contact
postfjord_add_contactAdds a person to the contacts, or updates the contact with that address. Only for someone who asked to hear from the workspace, never an address found elsewhere. askToConfirm true sends them an email to confirm they want the emails (double opt-in): only confirmed people get emails or automations. That email goes out at once, so confirm with the person you are helping before you set askToConfirm true. While the workspace is paused no email goes out, and the answer says so. An address that unsubscribed or bounced is not added. Tag them afterwards with postfjord_tag_contact. Needs email switched on and the Publish scope. On a retry after a timeout or error, send the same idempotency_key: the first answer comes back and nothing is made or sent twice.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"email": "<email>"
},
"name": "postfjord_add_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The person's email address, as they gave it to the workspace. | ||
| lastName | No | Last name. | |
| firstName | No | First name, used to greet them in emails. | |
| askToConfirm | No | Send the confirmation email now. Default false. | |
| idempotency_key | No | Your own id for this one action, for example post-20261006-launch. Make a new one for each new thing; send the same one again only when you retry. Left out, the exact same call within 10 minutes counts as a retry. |