> For the complete documentation index, see [llms.txt](https://peach-organization.gitbook.io/peach/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://peach-organization.gitbook.io/peach/webhooks/webhooks-for-automations/ambassador-created-webhook.md).

# Ambassador created webhook

When an ambassador is created, an automation can be triggered. The ambassador details can be sent to the endpoint of your choice

#### Event Payload Fields

<table><thead><tr><th width="249">Parameter</th><th>Values</th><th>Description</th></tr></thead><tbody><tr><td>automationTrigger</td><td>string</td><td>Event type that triggered this action <strong>(always is <code>ambassadorCreated</code> for this webhook)</strong></td></tr><tr><td>accountId</td><td>string</td><td>Account identifier for this campaign</td></tr><tr><td>alertDate</td><td>number (timestamp)</td><td>Date for alerting</td></tr><tr><td>contactId</td><td>string (UUID)</td><td>Each ambassador is a contact in the system. This is unique identifier for the contact</td></tr><tr><td>createdAt</td><td>number (timestamp)</td><td>Timestamp of creation (ms since epoch)</td></tr><tr><td>createdDate</td><td>number (timestamp)</td><td>Same as createdAt, date of record creation</td></tr><tr><td>email</td><td>string (email)</td><td>Ambassador’s email address</td></tr><tr><td>firstName</td><td>string</td><td>Ambassador’s first name</td></tr><tr><td>firstNameLower</td><td>string</td><td>First name in lowercase (for searching/matching)</td></tr><tr><td>hasActiveHok</td><td>boolean</td><td>Whether ambassador has an active standing order / recurring donation</td></tr><tr><td>hasDonated</td><td>boolean</td><td>Whether the ambassador has donated</td></tr><tr><td>holding</td><td>boolean</td><td>Indicates holding status</td></tr><tr><td>holdingTime</td><td>number</td><td>Duration of holding in milliseconds</td></tr><tr><td>ignoreDedupe</td><td>boolean</td><td>Whether duplicate detection should be skipped</td></tr><tr><td>importId</td><td>string (UUID)</td><td>Identifier for the import process</td></tr><tr><td>initialClosenessRating</td><td>number</td><td>Initial closeness rating</td></tr><tr><td>isAmbassador</td><td>string (<code>true</code>/<code>false</code>)</td><td>Marks this contact as an ambassador</td></tr><tr><td>isContactImport</td><td>boolean</td><td>Whether the record was imported as a contact</td></tr><tr><td>isPaymentImport</td><td>boolean</td><td>Whether the record was imported as a payment</td></tr><tr><td>lastCallTime</td><td>number</td><td>Timestamp of last call in ms</td></tr><tr><td>lastName</td><td>string</td><td>Ambassador’s last name</td></tr><tr><td>lastNameLower</td><td>string</td><td>Last name in lowercase (for searching/matching)</td></tr><tr><td>mainAgent</td><td>string</td><td>Agent ID responsible for this ambassador</td></tr><tr><td>nextAllowedCallTime</td><td>number</td><td>Timestamp when the next call is allowed</td></tr><tr><td>partition</td><td>string</td><td>Database partition key</td></tr><tr><td>rating</td><td>number</td><td>Ambassador rating (0–100)</td></tr><tr><td>requestedNoCalls</td><td>boolean</td><td>Whether the ambassador requested no calls</td></tr><tr><td>segment</td><td>number</td><td>Segment identifier</td></tr><tr><td>skipEmailTelephoneCheck</td><td>boolean</td><td>Skip email/phone validation if true</td></tr><tr><td>storedBillingMethod</td><td>array</td><td>Stored billing methods for this ambassador</td></tr><tr><td>telephone</td><td>string</td><td>Phone number in international format</td></tr><tr><td>tz</td><td>string</td><td>Israeli ID number of the ambassador</td></tr><tr><td>updatedAt</td><td>number (timestamp)</td><td>Timestamp of last update</td></tr><tr><td>updatedByUserId</td><td>string (UUID)</td><td>ID of the user who last updated the record</td></tr><tr><td>AMBASSADOR_LINK_HE</td><td>string (URL)</td><td>Link to ambassador page in Hebrew</td></tr><tr><td>AMBASSADOR_TARGET_LINK</td><td>string</td><td>Target link identifier</td></tr><tr><td>AMBASSADOR_STATS_LINK</td><td>string (URL)</td><td>Link to ambassador statistics page</td></tr></tbody></table>
