> 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-goal-reached-webhook/form-submitted-webhook.md).

# Form submitted webhook

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

#### Event Payload Fields

| Parameter                     | Values             | Description                                                             |
| ----------------------------- | ------------------ | ----------------------------------------------------------------------- |
| automationTrigger             | string             | Event type that triggered this action (`formSubmission`)                |
| contactId                     | string (UUID)      | Contact ID of the donor                                                 |
| paymentDate                   | number (timestamp) | Date of the form submission / payment (ms since epoch)                  |
| donorFirstName                | string             | Donor’s first name                                                      |
| donorLastName                 | string             | Donor’s last name                                                       |
| email                         | string (email)     | Donor’s email address                                                   |
| documentLanguage              | string             | Language of generated document                                          |
| donationCurrency              | string (ISO 4217)  | Currency for the donation or payment                                    |
| paymentType                   | string             | Payment type                                                            |
| donationSum                   | number             | Donation sum (0 for free payments)                                      |
| isHok                         | boolean            | Whether donation is part of a standing order                            |
| isInstallments                | boolean            | Whether donation is split into installments                             |
| accountId                     | string             | Account ID associated with the submission                               |
| donationMethod                | string             | Method of donation                                                      |
| campaignId                    | string             | Campaign ID associated with this submission                             |
| exchangeRate                  | number             | Exchange rate applied                                                   |
| tz                            | string             | Donor Israeli ID / company number                                       |
| donorPersonalDedication       | string             | Personal dedication message from donor                                  |
| donorDisplayName              | string             | Donor’s full display name                                               |
| receiptEmail                  | string             | Email where receipt will be sent                                        |
| donorPhoneNumber              | string             | Donor phone number                                                      |
| paymentId                     | string (UUID)      | Payment / form submission record ID                                     |
| agentId                       | string             | Agent responsible                                                       |
| journalId                     | string             | Optional journal entry ID                                               |
| donationFirstSum              | number             | First donation sum in recurring donations                               |
| donationSumInCampaignCurrency | number             | Donation sum in campaign currency                                       |
| splitAcrossMonths             | number             | Number of months to split donation across                               |
| cancelled                     | boolean            | Whether submission/payment was cancelled                                |
| updatedAt                     | number (timestamp) | Timestamp of last update                                                |
| updatedByUserId               | string (UUID)      | ID of user who last updated record                                      |
| purchaseTitle                 | string             | Title of the payment / donation                                         |
| customProperties              | object             | Donor custom fields (firstName, lastName, email, phone, dedication, tz) |
| createdAt                     | number (timestamp) | Timestamp of record creation                                            |
| donatedOn                     | number (timestamp) | Date when donation/payment occurred                                     |
| marketingCampaignId           | string             | Optional marketing campaign ID                                          |
| secondaryContactId            | string             | Optional secondary contact ID                                           |
| status                        | string             | Submission status                                                       |
| scheduleDate                  | number             | Scheduled date for donation (optional)                                  |
| nextBillingCycle              | number             | Next billing cycle timestamp (if recurring)                             |
| cc4dig                        | string             | Last 4 digits of credit card (often not applicable)                     |
