do the Web Service Bridge

Parameters:
See dedicated page for more information.
See dedicated page for more information.
doWebServiceBridge turns an BRAND pipeline into a small PHP endpoint that accepts URL/form parameters, validates them, and then runs your pipeline with those values. It’s designed for lightweight integrations (internal tools, dashboards, no-code portals) where you want a single URL to trigger a graph with strict input validation and safe defaults.
You declare the list of expected input variables (e.g. a,b).
For each variable, you define:
You point the box to the pipeline that should run.
The box generates a PHP bridge. When called as /endpoint.php?a=…&b=…, the script:
All input variables must be listed in List of input variables for the Webservice (comma separated). Order matters: validation rules are mapped by position (1-to-1).
Provide the same number of comma-separated entries in these fields:
Regular expression to validate input variables (comma separated) (regexes),Input variables max size (comma separated) (maximum size in bytes per variable),Input variables min size (comma separated) (minimum size in bytes per variable).If a variable is intentionally optional, set its Input variables min size (comma separated) to 0 and decide how to handle absence via Reset policy.
A PHP file that acts as an HTTP endpoint.
At runtime, the endpoint returns whatever your graph produces. Typical patterns:
Note: Structure the end of your pipeline to emit the desired HTTP response (e.g., a JSON writer, a file writer, or a status table converted to JSON).
Declare inputs
List of input variables for the Webservice (comma separated): list your keys (e.g., a,b).Regular expression to validate input variables (comma separated): set strong regexes, one per key (e.g., ^[a-zA-Z0-9]+$,^[0-9]+$).Input variables max size (comma separated): match your expected maxima (e.g., 200,200).Input variables min size (comma separated): set 1,0 to make the first required, the second optional.Bind the pipeline
Pipeline to run in the webservice.a and b.Choose reset policy
Replacement for missing input variable: pick how to substitute absent optional parameters (e.g., default value).Generate and deploy
Final Web Service Brige (Php->ETL) to a build location, run the node, then deploy the generated PHP file into your web server’s document root (or a protected route that proxies to it).Call it
GET /your-endpoint.php?a=ABC123&b=42Input variables max size (comma separated) values reduce risk of payload abuse.Debug outside dev/test.“Validation failed” immediately
The provided value likely violates Regular expression to validate input variables (comma separated) or size bounds. Recheck commas: each position maps to its variable.
“Missing value” even though it’s optional
Set the corresponding Input variables min size (comma separated) to 0 and choose an appropriate Replacement for missing input variable policy.
Generated PHP returns 500
Debug to surface details (switch it off afterwards).Endpoint runs but returns nothing
Ensure your graph actually writes a response (e.g., JSON) and that the PHP wrapper echoes it back.
Regex doesn’t seem applied
Remember each regex is separated by commas; escape literal commas or split your rule differently.
