Creating a Webhook
2 min
important limited support for actions at present webhooks only supports the insert object action, either as a simple action or through a composite action support for more actions will be added in future releases see workaround updating an incident using webhooks docid\ eohjlf2ogg8oa df0yz2z for an interim workaround for updating records to create a webhook in the settings menu, click webhooks manager in the build section the webhooks manager opens click add a new webhook enter information into the fields field description maximum characters name enter a unique descriptive name for your webhook for example, incidentsendemail 100 description describe what your webhook does for example, sends an email to the general company technical support email address when a new incident is created 256 endpoint extension the extension that is appended to the end of your url used to execute this specific webhook for example, incidentsendemail note the endpoint extension is case sensitive alphanumeric only full endpoint this full endpoint automatically updates to add your endpoint extension onto the end if you click copy , the full endpoint is copied into your clipboard so that you can paste it into a tool such as postman so you can to test your request 2000 characters including the endpoint extension select business object select one of the business objects in your installation they are shown in the format businessobjectdisplayname (businessobject name) tip you can also begin typing the name of your business object into this field and matches appear not applicable select action when you select a business object, the list automatically displays associated actions select the action with the update variables and stored actions block you created for this webhook they are shown in the format actionname (actiontype) tip although using an action with the update variables and stored actions block is probably what you'll want to do most of the time, you could also select other actions you've created, for example, a simple insert a record action that doesn't read data from the webhook not applicable click save a confirmation message appears saying webhook successfully created if the save was successful your webhook appears in the list and is enabled by default when the chosen trigger occurs, for example, pipeline failing in azure devops, or record created in csm, the webhook runs in the background and carries out its task
