Follow the steps below to add a new trigger:


1. Click to open the Settings tab.


2. Click the Trigger option in the left-side navigation pane. The Trigger List is displayed.


3. Click the Add Trigger button. The Create Trigger page displays.


4. Click the Active option to enable the trigger


5. Type a Name for the trigger.


6. Click to select an Event from the drop-down menu. When a user selects an event, the user is notified whenever this even occurs. 


Order Errored - The artwork is not available due to either a preflight failure or an invalid fetch URL. An order goes to error 12 hours after order submission.


Shipment Shipped - A shipment has shipped.


Order Cancelled - The order has been cancelled within HP Piazza, the PSP, or via the API.


Order Received - The order has been accepted by the system but the artwork has not yet been retrieved.


Order Print Ready - The artwork has been successfully retrieved and the order is now ready to enter production.


Stock Alert - Not used at this time.


Order Submission Error - There was an error with the order submitted from HP Piazza.


Order Reprinted - Order has been selected for reprint.


Shipment Updated - Shipment information for an order has been updated.


Title Created - A title has been created.


Title Updated  - A title has been updated. 


Title Print Ready  - A title's status has changed to Print Ready.

Title Unpublished  - A title has been Unpublished.


Title Deleted -A title has been deleted.


Title Error  - A title has an error. 


7. Click to select the Type from the drop-down menu. The type, or format of the trigger, enables other fields in the form which vary according to the type. The type can either be HTTP or email. 


The HTTP type needs an address to be provided, which is the URL for the HTTP endpoint. This must be an open URL that cannot contain login credentials. However, a static token can be included either in the header or the body of the payload to be validated upon entry into the system. For example: http://postback.yourcompany.com?id={{data.sourceOrderId}} 


When exposing an endpoint, it is recommended that an SSL certificate is purchased to make sure all communications are encrypted.


For an email type, the Email Request section appears at the bottom of the page. Add the desired address to the Address field.


For an HTTP type, the following fields appear:


Method - Can be selected from the drop-down list as a POST, PUT, or GET request


Request Headers - Used to determine the format of the content being sent. The following variables can be used in the headers:


contenttype application/json


contenttype text/xml


contenttype text/plain


contenttype text/html


Multiple headers can be added by clicking the + button next to the Header field. A new row appears below  to configure an additional header. Delete a header by clicking the black X button next to the header's row.


8. Click to select a Template from the drop-down menu. The templates that appear

are those created


9. Click to enable the Retry on failure option, if desired. This option sends the trigger notification again if it failed the first time. For exmample, If the trigger is set up to send an email when the event occurs and the email failed the first time, the email will be sent again.


10. Click the Share option to share the trigger.

11. Click the Save button. The trigger is saved and added to the Triggers List page.


The trigger can be tested to make sure it is configured as desired by clicking the Test button at the top, right side of the page. The Test Trigger dialog appears. Click the Run Test button and confirm in the Test Trigger? dialog. The trigger test is performed.