POST /hello with a name, receive a greeting, then locate its execution. An invalid request should stop at the guard.
Before you start
Use a non-production instance. You need permission to create and activate a Component and Endpoint, and a credential allowed to invoke the Endpoint. SetREVO_API_KEY in your shell without pasting its value into the guide or your code.
1
Create the Response element
In Components, create a JavaScript Component named Hello greeting with a visible element named Response. Paste this complete element body.In the debugger, supply the same input envelope the Endpoint will build.Expect the
Response
Sandbox inputs
Response element to return a greeting and an execution ID. Save and activate the Component.2
Configure POST /hello
In Endpoints, create a definition named Hello greeting, select the Component and set the method to POST and the path to /hello. Choose HTTP, Success status to 200 and Result element → Response. Set Validation status to 422.Paste this schema into the inline request guard. It requires a nonempty name in the JSON body.Check the selected Component version and caller policy, then activate the Endpoint.
Inline guard
3
Send one valid request
Set The selected result is returned directly with HTTP 200.
REVO_ENDPOINT_URL to the Endpoint runtime base URL shown for your instance, without the trailing slash or /hello.Request
Response
Verify the result
Find the execution in Observability using the response’s execution ID. Send the same request with--data '{}' to see HTTP 422. The guard rejects that request before the Component runs.
Continue with your preferred workflow
Stay in the Web IDE
Edit components with runtime-aware types, library navigation, and integrated debugging.
Use the CLI
Pull components into a local workspace, review drift, debug, and push changes safely.
Use custom Node.js
Build a hosted component with an injected Revo runtime and npm dependencies.
Integrate with the SDK
Call RevoEngine from a standalone Node.js service or from hosted custom code.

