# Webhooks

Webhooks is a callback when a new order come in, you can do whatever you want with API integrators such as Integromat or Zapier.

At Orderla settings, you can go to form's edit mode. Then go to **Integrations** tab.

<figure><img src="/files/11ky5q8Z5B6uoPDIPzib" alt=""><figcaption></figcaption></figure>

You may need the URL to be inserted inside the form.&#x20;

### Example with Integromat: Webhooks to add a row inside Google Sheets

Here is an example where you can send to a webhook and then add a row inside Google Sheets.

![](/files/-MDBJddDB-Oc2crQb9SJ)

Click at the Webhooks icon. You will see the Webhook URL. You need to create one if you haven't yet, the select it.

![Example of Scheduling. The automator will do the automation task every 15 minutes. ](/files/-MZ8vh8mvIwG1s91nhFp)

![Setup you Google Sheet Document to integrate inside Integromat action.](/files/-MZ8vzg3HxAcviWl9WyY)

Add to your sheet with header like these:

| ID | Name | Phone Number | Email | Address | Notes | Total |
| -- | ---- | ------------ | ----- | ------- | ----- | ----- |
|    |      |              |       |         |       |       |

![Integromat's Scenario Editor](/files/-MDBHUngzhLsYzlJB4qi)

Copy webhook's URL, or click on 'Copy address to clipboard' then paste at Webhook URL at previously shown Orderla settings. Then click on **'Send Test Data'** to send a test data to Integromat to check the integratio&#x6E;**.**&#x20;

![](/files/-MZ8v7FdpZmiukrnC0TA)

Make sure when Send Test Data got a result of 'Successfully sent to webhook'.

Click on **'Re-determine data structure'** to input the value. Specify where to write to your Google Sheet and in which sheet.&#x20;

Set also Table contains headers to YES.&#x20;

Specify what kind of data do you want to put for each columns like below.

![](/files/-MZ8wZvUpyDrGfbwVF5a)

![](/files/-MDBJom0YYEBs0aWpKEE)

So it will generate a row like this.

![](/files/-MDBK6JgioAit1XhSfOq)

## Data Structure Sample

| Field                     | Value                                                                          |
| ------------------------- | ------------------------------------------------------------------------------ |
| order\_code\_id           | #123456                                                                        |
| form\_name                | SAMPLE FORM                                                                    |
| name                      | \<customer name>                                                               |
| email                     | \<cutomer email>                                                               |
| phone\_no                 | \<phone\_no>                                                                   |
| address                   | \<customer address>                                                            |
| postcode                  | \<customer postcode>                                                           |
| notes                     | \<notes>                                                                       |
| created\_at               | date                                                                           |
| order\_url                | <https://yourstore.orderla.my/form>                                            |
| subtotal                  | 9999.99                                                                        |
| delivery\_fee             | 9999.99                                                                        |
| tax                       | 9999.99                                                                        |
| discount                  | 9999.99                                                                        |
| total                     | 9999.99                                                                        |
| status                    | new \| completed \| pending \| confirmed \| ongoing \| dispatched \| cancelled |
| payment\_status           | paid \| not\_paid                                                              |
| paid\_with                | \<paid\_with>                                                                  |
| order\_list\_json         | \[ {}, {} ]                                                                    |
| additional\_charges\_json | \[ {}, {} ]                                                                    |

| Field                      | Value                    |
| -------------------------- | ------------------------ |
| extra\_cust\_info\_json    | \<array>                 |
| to\_user\_sale\_person\_id | 123                      |
| delivery\_message          | \<delivery\_update\_msg> |
| seller\_notes              | \<seller\_notes>         |
| slot\_date                 | null \| \<slot\_date>    |
| slot\_time\_start          | \<slot\_time\_start>     |
| slot\_time\_end            | \<slot\_time\_end>       |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guides.orderla.my/orderla-plus/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
