ENDPOINT_INVOKE. The Endpoint’s execution account needs permission to start Jobs. Reading Job details through the Platform API requires AUTOMATION_READ or AUTOMATION_ADMIN. The Job template selects its own execution account.
1. Create the worker and Job template
Create a JavaScript Component named Calculate demo quote with a visible element named Quote. Paste the complete element body and activate the Component.Worker Component · Quote
Job template · Runtime input
2. Create the Endpoint Component
Create a second JavaScript Component named Request demo quote with a visible element named Response. Paste this body and activate it.Endpoint Component · Response
3. Configure and activate the route
Create an inactive Endpoint in Endpoints, select Request demo quote, and set these options.
Paste the following schema into the inline request guard. It bounds the order ID, accepts a whole-number quantity and rejects extra body fields.
Endpoint · Inline guard
4. Submit the request
SetREVO_ENDPOINT_URL to the Endpoint runtime base URL and REVO_ENDPOINT_KEY to your invoking credential.
Request a quote
jobId.
Accepted receipt
--data '{"quantity":0}' to check the rejection path. It returns 422 before the Endpoint Component runs, so it creates no Job.
5. Read the result
SetJOB_ID to the ID from the receipt, REVO_API_URL to the Platform API base URL, and REVO_JOB_READ_KEY to a credential with Job read access.
Read the exact Job
status is FINISHED, read output.results.Quote. These are the relevant fields from the Job detail response.
Completed Job detail · selected fields
The Job detail route is for authorized operators and integrations. For an application that serves end users, expose a status or result scoped to the caller’s own operation. Keep the Platform API credential server-side.

