Add or update a contact
postfjord_add_contactAdds or updates a contact who asked to hear from your workspace, with an optional double opt-in email to confirm consent before they receive emails or automations.
Instructions
Adds 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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| lastName | No | ||
| firstName | No | ||
| 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. |