Add or update contact
upsert_contactCreate or update a contact in an EmailOctopus list by email, set custom fields, add or remove tags, and assign subscription status.
Instructions
Create a contact, or update it if the email already exists in the list. Set custom fields by their tag (e.g. FirstName), add/remove tags, and set status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Custom field values keyed by field tag, e.g. {"FirstName": "Dana"} | |
| listId | Yes | List ID (from list_lists) | |
| status | No | Defaults to the list's opt-in setting for new contacts | |
| add_tags | No | ||
| remove_tags | No | ||
| email_address | Yes |