Event Triggers allow you to send data to remote scripts when certain actions take place within Ubersmith. They operate by sending HTTP POST data to a remote URL when events like client creation, service creation, ticket creation occur. When you add an Event Trigger, you have a few tabs that appear in the popup:
Label - The label is the name you'd like to refer to the script by. It will be displayed within 'setup & admin'.
URL - The URL that you'll be sending POST data to (including endpoint / script name)
For example, a value for URL might be:
The Script Variables tab determines the variable names and values that will be sent via POST to your remote script's URL.
For example, if your remote script expects a variable 'fname' representing the client's first name, you would put 'fname' in the variable name field, and select 'First Name' from the 'Value to Assign' drop down. You can continue adding variables to reflect the information your script expects.
The Script Response tab tells Ubersmith how to handle any output your remote script returns, by either proceeding on to the next event trigger, or if processing should cease. You can add a single or multiple rules by matching the strings returned by your remote script.