Libris Translate 0.29.0 · User guide

Category: Automate

Notify another tool when work finishes

Have an automatic notification prepared for your editorial tracking software.

Before you start

A technician implements this through the API with Studio or Pro. A webhook is a message from Libris to another tool, not an email to a reader.

Steps

  1. The administrator opens Settings › Automation API, then “Webhooks of API requests”.
  2. The technician enters the destination server under “Allowed hosts”, prepares a global or token-specific signing secret and clicks “Save the webhooks”.
  3. In the request sent by the tool, the technician supplies callback_url, the address that will receive the notification.
  4. Try a test book. The receiver verifies the message’s signature, then reads the request state and report from Libris.

What you should see

The receiving tool gets a verified notification and retrieves the associated job report.

What to know

Libris retries failed delivery, so the receiver must tolerate duplicates and keep checking progress when no message arrives. A checked signature establishes message origin, not permission to publish a book. A finished request may contain a blocked or incomplete result. Notifications without an allowed destination are refused. Keep signing secrets in a secret manager.

Fictional example

Have production software flag that a volume is awaiting editorial review, without automatically publishing it just because a completion message arrived.

Continue

Return to the first-book walkthrough