Guides
Trin for trin-vejledninger til opsætning og brug af systemet.
Guides - Create a webhook
Create and set up a webhook under Webhook settings: choose a template, when it runs, and how data is sent.
Create a webhook
Under 'Webhook settings' you create the webhooks that send data from Gecko to another system. You can read what webhooks are and which templates exist in Webhooks, Scheduled webhooks and Event webhooks.
Get startedGo to Settings > General > Webhook settings.
(1) 'Create webhook': Create a new webhook (see below). (2) 'Edit': Set up the webhook. (3) 'Active': Only active webhooks are run. (4) 'Delete': Tick the webhook and click 'Update' to delete it. (5) 'Update': Saves the changes in the list.
Create a webhook
(1) 'Name': E.g. what the webhook is used for. (2) 'Template': Which data the webhook sends, and when, e.g. 'Booking: Create/edit/delete'. (3) 'Description' and (4) 'Update frequency' show what the chosen template does. (5) 'Next': Creates the webhook and opens it. A new webhook is not active.
Set up the webhook
(1) 'Active': Switch the webhook on when it has been set up. (2) 'Name': The name of the webhook. (3) 'Run at': When the webhook is run. For 'Booking: Create/edit/delete' you choose e.g. 'Create booking', 'Edit booking' and/or 'Delete booking'. Scheduled webhooks have a time instead. (4) 'Template information': The template the webhook is based on. (5) 'Update': Saves 'General settings'. Under 'Select transfer method': (6) 'Transfer type': 'FTPS (SSL/TLS)', 'SFTP (SSL/TLS)', 'E-mail' or 'URL (JSON)'. The fields below change with the type. For e-mail you enter the recipient's e-mail and the subject. For FTPS and SFTP you enter user name, password, server, folder and file name. For e-mail, FTPS and SFTP you also choose 'Data type': 'JSON' or text. (7) 'Error e-mail': Is notified if the transfer fails. Separate several addresses with commas. For 'URL (JSON)': (8) 'URL': The address the data is sent to. (9) 'Type': E.g. 'POST' or 'GET'. (10) 'Header lines': E.g. a key required by the other system. (11) 'Data JSON': The data that is sent. Use the template's substitution codes, e.g. [bookingId]. You will find examples in the guide for the template, e.g. Booking. (12) 'Update': Saves. |


