Webhooks
Send a POST call to API integrator
Last updated
Was this helpful?
Send a POST call to API integrator
Last updated
Was this helpful?
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.
You may need the URL to be inserted inside the form.
Here is an example where you can send to a webhook and then add a row inside Google Sheets.
Click at the Webhooks icon. You will see the Webhook URL. You need to create one if you haven't yet, the select it.
Add to your sheet with header like these:
ID
Name
Phone Number
Address
Notes
Total
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 integration.
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.
Set also Table contains headers to YES.
Specify what kind of data do you want to put for each columns like below.
So it will generate a row like this.
order_code_id
#123456
form_name
SAMPLE FORM
name
<customer name>
<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
[ {}, {} ]
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>