Start hereWelcome to Cloudgate
Cloudgate brings workflow APIs, web apps, identity, and operational tools into one workspace. Build a backend on a visual canvas, connect it to an app, and follow each request through its execution history.
Start with the result you need#
How the pieces fit together#
A controller groups related API routes. An action defines a route and HTTP method. Its workflow is the graph of nodes that handles the request: validate input, call another service, query data, make a decision, and return a response.
text
App or API client
↓
Gateway route and access checks
↓
Action → workflow nodes → response
↓
Services and databases
Web apps consume those APIs. App users sign in through the Identity Provider. Logs, metrics, tests, and support tickets help you operate what you build.
Work in a draft, release deliberately#
Use sandbox routes while developing and review a release before sending production traffic to a new version. Sandbox selects workflow and resource configuration; it does not guarantee that every connected service or account is isolated. Choose test resources explicitly.
The Hub adapts to your permissions and enabled features. If a screen is missing, check your role and account configuration with your workspace administrator.
Continue with the API quickstart, or use the Hub map to find a tool.
Start hereBuild your first API
Create a small GET endpoint that returns JSON, test its sandbox URL, and learn the controller, action, and workflow model without connecting an external service.
Before you begin#
Sign in to your Cloudgate workspace with permission to create controllers and edit workflows. Use a new controller or a dedicated learning controller so the exercise is easy to identify later.
1. Create a controller and action#
- Open Workflows → Controllers and create a controller named
Getting Started with path getting-started.
- Create an action in that controller. Name it
Hello, set its route to hello, and select the GET method.
- Open the action in Go to Flow Builder. If you are editing a published action, open a draft first.
The route field is only hello. Do not paste a hostname, /sbx, or the controller path into it.
2. Add a Function node#
Add a Function node named HelloResponse and make it the workflow's entry node. Use this script:
python
import json
return json.dumps({
"message": "Hello from Cloudgate",
"ready": True
})
Cloudgate runs the script inside its function runtime, so a top-level return is valid here. Leave this node's outgoing connection empty: its result is the final response. Select JSON as the action's response format and save the draft.
3. Test the sandbox route#
Use the action's test panel to send a GET request. The response should contain:
json
{
"message": "Hello from Cloudgate",
"ready": true
}
Then copy the action's public sandbox URL and test it from your own client. Its shape is:
text
https://YOUR-API-HOST/sbx/getting-started/hello
Use the authentication configured for the action. For a signed endpoint, follow request signing. An internal test can behave differently from an external request; checking the public route confirms routing and gateway access together.
4. Inspect the run#
Open Workflows → API Action Logs, select the sandbox environment, and find the request. Check its method, route, status, and workflow result. This is the same starting point you will use when debugging a larger workflow.
Next steps#
Add request input, call an external API, or follow the release workflow when you are ready to expose a production version.
Start hereFind your way around the Hub
The Hub groups tools by the work you are doing. Choose an area in the navigation rail, then use its sidebar to open a builder, resource, or operational view.
Home#
Start with Kick Start for guided setup. Use App Store and App Templates to begin with an existing app, or Pre-Built Workflows for reusable API workflows. AI Agents is also available from Home.
For a workspace-wide view, open Health, Reports, System Map, Worksheets, or Team Contributions. The System Map helps you understand how workflows, schedules, and resources connect.
Workflows#
| Group |
Tools |
| Build |
Go to Flow Builder, Controllers, Actions, Schedules, Key Selectors, Releases |
| Resources |
Databases, WebSockets |
| Security |
API Key Access, Origin Validator, CORS Origin |
| Logging |
API Action Logs, HTTP Requests |
| Integrate and document |
API Overview, Auto Proxy, Import API, Postman Collection, Document Builder |
| Operate |
API Metrics, Maintenance, Test Automation |
Origin Validator manages country and IP rules. CORS Origin manages browser origins. They are separate controls.
Web Apps#
Open Web Apps to manage apps and enter a particular site's visual builder. Go to Code Editor opens the coding workspace. Releases contains app release review and rollback.
The same area contains App Users, App Roles, Identity Provider, Email Settings, App Notifications, and App User Wallet. App-user identity is distinct from the people who administer your Cloudgate account.
Settings and Support#
Settings contains your profile, linked accounts, team Users and Roles, Billing, Subscriptions, Wallet, Gateway Options, and File Manager. Desktop updates appear in the desktop application.
Support contains Ticket Tracker, All Tickets, Ticket Stats, customer and category management, Ticket Wiki, and Warning System.
If you cannot see a tool, first confirm the selected workspace and your role. Some features also depend on account configuration or the client you are using.
Start herePublish your first web app
Start with one useful page, connect it to a tested workflow, and preview the app before creating a release. Cloudgate supports both visual page building and code-based applications.
Choose a starting point#
- App Store or App Templates: start with an existing application and review its requirements before installing or customizing it.
- Visual Builder: assemble layouts, forms, tables, and charts for an API-backed tool.
- Code Editor: work with application source when you need custom components, routing, or a development workflow.
Open Web Apps → Web Apps to find and manage your app. For visual sites, enter the builder from the selected app; pages belong to that app.
Build one complete interaction#
For a first app, use a read-only list rather than a multi-step transaction:
- Prepare a sandbox workflow that returns a predictable list of records.
- Add a page and a table widget, or a page component in your code project.
- Configure its input API action and the path to the list in the actual response.
- Display a small set of fields with clear names.
- Add loading, empty, and failed-request states.
For example, a response of {"result":{"items":[...]}} needs a table data path of result.items. A successful request with the wrong data path can still produce an empty table.
Add access if the data is private#
Configure the Identity Provider, test a signed-in user, and authorize the workflow on the server. Hiding a page or a button does not restrict direct API calls.
Preview and release#
Test the page at narrow and wide screen sizes. Refresh a direct page URL, sign out and back in, and verify the selected API environment. Use fixture records for anything that writes data.
Create the app release, inspect its build result and preview, and review workflow dependencies before approving publication. An app build and a workflow release are separate changes; both must agree on the request and response contract.
Continue with publishing and rollback.
Start hereCloudgate glossary
Use this reference when moving between the Hub, workflow tools, and application development. Some API and MCP names differ from the labels shown in the interface.
Workflows and execution#
| Term |
Meaning |
| Tenant / workspace |
The Cloudgate account context containing your team's configuration and resources. |
| Controller / project |
A group of actions with a common URL path. MCP tools often call it a project. |
| Action / endpoint |
An HTTP method and route backed by a workflow. MCP tools often call it an endpoint. |
| Workflow |
The executable graph for an action. |
| Node |
One operation in that graph, such as a Function, HTTP Request, or Database step. |
| Entry node |
The first node executed for an action. |
| Session |
The execution context for one workflow run. |
| Session key |
A value available during execution, including named node results. |
| Key Selector |
A named value referenced with ${name}. Stored selectors can have sandbox and production values. |
| Action Log |
A record of a gateway request, not an action definition. |
| HTTP Request log |
A record of an outbound request made during execution. |
Environments and releases#
Sandbox uses /sbx/ routes for development. Production uses /prod/ routes and released workflow configuration. A draft is editable work. A version is a saved workflow snapshot. A release records a candidate's review and publication lifecycle.
A schedule starts an action later with a stored body. A Schedule node creates or updates such a schedule while another workflow runs. A template is a reusable starting point; it does not automatically configure every resource in the destination workspace.
Apps and identity#
Web Builder creates pages from visual widgets. Code Editor / Web App Coder works with app source. The SDK connects a coded app to Cloudgate services and platform features.
App users sign in to your application through the Identity Provider (IdP). Account users administer the Cloudgate workspace. Their roles and permissions are managed separately.
CORS controls which browser origins can call gateway APIs. Origin Validator controls country and IP access. API credentials identify an integration; an IdP bearer token identifies an app-user session.
Build workflowsControllers, actions, and routes
A controller gives related APIs a shared path. Each action adds a route, an HTTP method, and a workflow. Together they determine which graph handles a request.
Read a Cloudgate URL#
text
https://YOUR-API-HOST/sbx/orders/status
└┬┘ └─┬──┘ └─┬──┘
environment │ action route
controller path
For this example, set the controller path to orders and the action route to status. The action route is relative: do not include the environment prefix or controller path.
The method participates in routing. A GET and a POST at the same path can resolve to different actions. A correct URL with the wrong method can return an endpoint-not-found response.
Create and organize actions#
- Open Workflows → Controllers and create or select a controller.
- Give it a stable, descriptive path such as
orders or inventory.
- Create actions for individual operations and select their request methods.
- Configure response format and access rules, then open each action in the Flow Builder.
Use names that describe behavior: List orders, Get order, or Create order. Keep related actions together, and avoid renaming public routes without planning for existing clients.
Capture a route value#
An action route can contain a selector placeholder:
A request to /sbx/orders/123/status makes orderId available to the workflow. Validate its format and authorize access to the record before using it.
Manage changes#
Edit a draft when changing a published action. Review routes, methods, access rules, and graph changes together before releasing. A controller export is useful for reuse or recovery, but imported selectors, databases, and external credentials still need review in the destination.
See templates and imports, request data, and releases.
Build workflowsWork in the Flow Builder
The Flow Builder shows the nodes and connections behind an action. Use it to make the execution path easy to read, test, and maintain.
Build a connected path#
Open Workflows → Go to Flow Builder and select the controller and action. For a released action, enter its editable draft before changing nodes.
- Add a node from the library.
- Give it a name that describes its result, such as
FetchCustomer or OrderResponse.
- Configure its inputs and operation.
- Set the action's entry node and connect the outgoing execution path.
- Save and test the workflow.
Placing nodes next to each other does not make them execute. The action needs an entry node, and each subsequent step needs an execution connection. A disconnected node can remain visible on the canvas without participating in a request.
Name nodes as data contracts#
Successful node outputs are available to later nodes by name, for example ${FetchCustomer}. Renaming a node can therefore break downstream templates even if the visual connections remain intact. Search its uses before renaming it.
Prefer one clear responsibility per node. Separate authentication, input validation, external calls, and response shaping so failures are easier to locate.
Branch intentionally#
A Condition has true and false paths. A Decision evaluates configured rows and takes the first matching branch. Label and test every outcome, including the case where no decision row matches.
Notes, headings, and other visual annotations help explain intent but are not business execution steps. Keep the main path readable and place background work where its relationship to the response is clear.
Save, inspect, and test#
After rewiring, run a representative request and inspect the executed node sequence. Check that the expected final node produced the response and that branches did not skip authorization or validation.
Use debugging for a failing path and execution behavior for details about termination and background work.
Build workflowsHow a workflow executes
Cloudgate resolves the incoming route, performs gateway access checks, and starts execution at the action's entry node. The graph's connections determine what happens next.
The request lifecycle#
- The gateway identifies the workspace, environment, controller path, action route, and HTTP method.
- Applicable API access, network, and authentication checks run.
- The workflow starts at its configured entry node.
- Each node receives the current execution context and can produce a named result.
- The final result is formatted according to the action's response settings.
Most nodes continue to their ordinary next connection. A Condition chooses its true or false connection and returns through that branch. A Decision takes the first enabled matching row with a connected target. These branches do not also execute an unrelated ordinary next path in the same hop.
Data lives in the execution context#
Request values and prior node results become selectors such as ${body} and ${FetchOrder}. A later node can only use a result after the producing node has executed on that path.
Session values are execution data, not durable application storage. Persist business records in a database. Delayed work should carry the identifiers it needs in its own input rather than relying on an old execution's stored keys.
Errors and completion#
Function, HTTP Request, and Database failures can stop execution before the next node. Inspect the failed node and action log rather than assuming every connected step ran.
A terminal node has no next step. Keep the response-producing node explicit so adding another operation does not accidentally change the API response.
Background work and limits#
An asynchronous action can acknowledge receipt before background processing finishes. A background branch also has its own completion timing. A receipt is not proof that downstream work succeeded.
A Schedule node creates or updates a later job; it does not call the target inline. Workflow execution has time and step limits that depend on the running server configuration. Design bounded paths and use scheduled workers for recurring work rather than an unbounded graph loop.
Build workflowsRead request data safely
Route values, query parameters, headers, and the request body enter the workflow as execution data. Validate them before using them to select records, construct requests, or change state.
| Input |
How it reaches the workflow |
| JSON or text body |
${body}; raw body is also retained in the request context |
| Query parameter |
A selector named after the query key |
| Route placeholder |
The name in the action route, such as ${orderId} |
| Request header |
Header values, including Header_-prefixed session keys |
| Earlier node result |
${NodeName} after that node succeeds |
Use distinct names for caller input, stored configuration, and node results. Do not treat a caller-supplied userId as an authenticated identity.
Read a JSON body in Python#
Use ${body} directly in the Function script. For a JSON request body, the unquoted selector resolves to its Python value:
python
import json
data = ${body}
if not isinstance(data, dict):
raise ValueError("Send a JSON object")
name = data.get("name")
if not isinstance(name, str) or not name.strip():
raise ValueError("name is required")
return json.dumps({"name": name.strip()})
Send {"name":"Avery"} with Content-Type: application/json. This example returns {"name":"Avery"} and rejects a missing or blank name. Cloudgate resolves the selector as data; you do not need a separate Python input variable or an input-template setup step.
Read a previous node's result#
If an HTTP Request node named FetchCustomer returns a JSON customer object, use its name as the selector in the next Function:
python
import json
customer = ${FetchCustomer}
return json.dumps({
"id": customer["id"],
"name": customer.get("name", "")
})
Use an unquoted selector for structured data and a quoted selector when you want text, such as order_id = "${orderId}". Confirm the upstream response shape before accessing its fields. A node result becomes available only after that node executes on the current path.
Validate the contract#
Check required fields, types, allowed values, and record ownership. Test malformed JSON, missing values, empty strings, and unexpected fields. Keep validation errors useful without echoing credentials or entire private payloads.
Build workflowsKey Selectors and session values
Selectors let you reference named values using ${name}. Use stored selectors for reusable configuration and named node outputs for data that belongs to one workflow run.
Choose the right lifetime#
| Value |
Where to keep it |
| An upstream service URL |
Stored text selector |
| A reusable service credential |
Stored secret selector |
| A customer lookup result |
The producing node's session result |
| An authenticated user's ID |
The IdP Authorize result |
| A business record needed next week |
A database |
| A shared token refreshed on a timer |
A dedicated refresh workflow and stored selector |
Avoid storing a per-user login token in a global selector. Parallel requests can overwrite shared state; downstream steps in the same request can use the login node's result directly.
Create a stored selector#
Open Workflows → Key Selectors, choose its controller or global scope, and give it a descriptive name such as SERVICE_BASE_URL. Set the sandbox and production values deliberately.
Text selectors hold ordinary configuration. Text (Secret) stores sensitive text with protected access. Base64 encodes its input when used. Base64 (Secret) stores the original text as a secret and encodes it at execution time; enter the original text, not a pre-encoded value.
Secret values are masked and require the relevant secret permission to reveal or change. Template exports omit their values. After an import, configure them in the destination workspace.
Reference values#
text
Request URL: ${SERVICE_BASE_URL}/customers/${customerId}
Authorization header: Bearer ${AccessToken}
Python value: customer = ${FetchCustomer}
In Python, use ${body} or ${NodeName} directly for structured values. Put a selector inside quotes when you want text, such as customer_id = "${customerId}". Use ${session:Name} = value to assign a value for later nodes in the same run. For SQL, use parameterized values rather than building statement fragments from callers.
For a service that expects a Basic-auth value, create SERVICE_BASIC_AUTH as Base64 (Secret) and enter the original username:password text for each environment. Configure the Request node header as:
text
Authorization: Basic ${SERVICE_BASIC_AUTH}
The selector supplies the Base64-encoded value automatically. For example, the text user:password becomes dXNlcjpwYXNzd29yZA==. Do not pre-encode that value or add a Python encoding node. Base64 itself is not encryption; the Secret type protects the stored original.
Troubleshoot a missing value#
Check spelling, scope, environment, and whether the producing node ran on the current branch. A stored key and a node result are not interchangeable. Use clear names to prevent ambiguity, and avoid using session history as long-term storage.
See the Selector node for scheduled refreshes and request data for input handling.
Build workflowsSandbox and production
Cloudgate uses sandbox for development and production for released APIs. The environment selects workflow and resource configuration, but each integration still needs a deliberate isolation plan.
Understand what changes#
| Area |
What to check |
| API route |
/sbx/ for sandbox; /prod/ for production |
| Workflow |
Sandbox can use the editable draft; production uses the released workflow |
| Key Selectors |
Separate sandbox and production values |
| Database node |
Its selected environment-specific database binding |
| API access |
The credentials, permissions, and limits for that environment |
| CORS |
Independent enabled state, origins, and credentials setting |
| Schedules and logs |
The environment selected for the job or recorded request |
Use a test database and a provider's test credentials when exercising writes. Verify the actual upstream hostname and selected database, not only the /sbx/ prefix on your Cloudgate URL.
App-user identities are shared within the tenant. An IdP Users update executed in sandbox can change a real app account. Use dedicated fixture accounts for identity tests.
Shared SMTP settings and other tenant-wide services can also affect multiple apps. An environment name is not a promise that an email, payment, or external write is simulated.
Compare before releasing#
- Check the draft against the intended production version.
- Confirm production selectors and resource bindings are populated.
- Confirm the public production URL and client authentication.
- Review browser origins, schedules, and dependent apps.
- Release through the review process and run a controlled production check.
Diagnose environment mismatches#
A workflow working internally but returning 404 publicly may have the wrong route, method, or release state. A request reaching the wrong service usually points to a selector or database binding. An empty dashboard may simply be filtered to the other environment.
Use testing and release review to verify the complete path.
Build workflowsReview and release workflows
Workflow releases separate editable drafts from the versions clients use. Review the full behavior change, test it in sandbox, and publish the intended version through the release lifecycle.
Edit a draft#
Open a released action and choose Edit Workflow to create or enter its draft. Changes to nodes, scripts, connections, or route settings belong in the draft until reviewed.
A draft is not a production release. Saving the canvas or restoring a historical version into a draft does not by itself prove that production changed.
Prepare the candidate#
Before creating a release, review:
- Entry node and every branch connection.
- HTTP method, route, response shape, and client compatibility.
- Gateway authentication and IdP authorization.
- Sandbox and production selector values and database bindings.
- External side effects, schedules, and app dependencies.
- Tests for success, failure, empty results, and denied access.
Use Workflows → Releases to inspect candidates, review differences, and perform the approval and release actions available to your role. Keep the release description specific: what changed, which clients are affected, and how it was tested.
Verify after publication#
Call the actual production route with the intended client credentials. Check the response and the corresponding action log. If the workflow serves a web app, exercise its real page interaction too; a successful build or release status does not validate the business result.
Recover a known version#
Use release history and the available rollback controls to return to a known released version. To revise an older design, restore that version into a draft, review it, and release it normally.
Rollback changes workflow behavior; it does not automatically reverse database writes, emails, payments, or other effects of earlier runs. Plan data recovery separately.
Discarding a draft removes unshipped edits and returns you to the published workflow. Export important work before discarding it when you may need those changes again.
Node referenceChoose a workflow node
Each node performs one operation. Start with the smallest set needed for your workflow, then connect the execution paths and name the results that later steps will use.
Core nodes#
| Node |
Use it for |
Result or next step |
| Function |
Python validation, transformation, calculations |
Named output, then next node |
| HTTP Request |
Calling an upstream API |
Named response, then next node |
| Condition |
A true/false test |
True or false branch |
| Decision |
Ordered routing rules |
First matching connected branch |
| Database |
SQL queries and mutations |
Query result, then next node |
| Schedule |
Creating a job from runtime data |
A scheduled execution, not an inline call |
| Selector |
Saving a shared value in a refresh workflow |
Stored selector update |
| WebSocket |
Publishing an event to a channel |
A message sent to listeners |
| IdP Authorize / IdP Users |
User authorization and identity operations |
Authorized identity or user result |
The library also includes specialized integrations such as notifications, wallet payments, and service connectors. See integration nodes before adding an operation with external effects.
Add and connect a node#
Open the node library from the canvas or a connection's add control. Configure the selected node, give it a unique descriptive name, and connect it to the intended predecessor and successor.
Confirm the action's entry node. For a branch, connect the actual branch output rather than only arranging the node visually.
Understand outputs#
A successful named result becomes available as ${NodeName} to later nodes in the same run. In Python, use it directly, for example customer = ${FetchCustomer}. An unquoted JSON selector resolves to its parsed value; quote the selector when you need text.
Test the complete path after adding a node. A standalone node test can help inspect one operation, but it cannot prove that earlier authentication, data production, and routing all work together.
Node referenceFunction node
Use a Function node to validate input, transform JSON, calculate a value, or prepare the final API response. Cloudgate executes the node's Python script and stores its returned result under the node name.
Reference request and workflow data directly with selectors. For a JSON order in the request body, use ${body}:
python
import json
order = ${body}
if not isinstance(order, dict):
raise ValueError("Send an order object")
items = order.get("items", [])
if not isinstance(items, list):
raise ValueError("items must be a list")
return json.dumps({
"orderId": order.get("id"),
"itemCount": len(items)
})
If this node is named OrderSummary, later nodes can reference ${OrderSummary}. A top-level return is supported by the Cloudgate function wrapper. Use json.dumps for a JSON response rather than Python's string representation of a dictionary.
Choose a selector for the value you need#
Use order = ${FetchOrder} to read a JSON result from a node named FetchOrder. Use a quoted selector such as order_id = "${orderId}" when you want its text representation. Cloudgate's selector binding keeps resolved values as data, including quotes and newlines.
Prior node names are selectors, not variables automatically imported into Python. FetchOrder by itself is not the upstream result; ${FetchOrder} is. An unquoted JSON selector supplies its parsed value, so you do not need json.loads just to read a JSON request or node result.
Assign a value for later nodes#
Use a session selector assignment when later nodes need a separately named value:
python
order = ${body}
${session:OrderId} = order["id"]
return "Order selected"
Later nodes in this run can reference ${OrderId}. The assignment follows normal Python control flow: code in an unselected branch does not run. Session values belong to this execution; use a database for durable records and a stored Key Selector for shared configuration.
Design reusable logic#
Keep the function focused and deterministic where possible. Validate types before arithmetic or indexing. Return one documented shape for success and let validation failures produce a useful error without including private input.
Reusable code snippets can help share a known pattern, but inspect the inserted code and required selectors for each workflow. A snippet is not proof that its data contract matches the current action.
Debug a failure#
Inspect the node error, resolved input, and preceding node's output in a sandbox run. Check malformed JSON, missing keys, null values, and empty collections. Available Python packages and execution limits depend on the deployed runtime; do not assume a local machine's modules are installed in Cloudgate.
Node referenceHTTP Request node
Use an HTTP Request node to call an external service from a workflow. Configure the method, URL, headers, and input body, then pass the named result to later nodes.
- Add HTTP Request and name it for the result, for example
FetchCustomer.
- Select the method required by the upstream API.
- Set its URL, using selectors for environment-specific configuration.
- Add enabled headers and any query, form, or body fields required by that API.
- Connect it after validation and authorization, then save.
text
Method: GET
URL: ${SERVICE_BASE_URL}/customers/${customerId}
Accept: application/json
Authorization: Bearer ${SERVICE_TOKEN}
This is a configuration example. Replace the route and authentication with the upstream service's actual contract. Ensure a route value is valid and correctly encoded for its position in the URL.
Handle the result#
Reference ${FetchCustomer} in the next node. In Python, customer = ${FetchCustomer} reads its JSON result directly. Inspect a real response before choosing field names: some services return an object, others wrap data in result, data, or a collection.
Set Content-Type to match the body you send. JSON text, form fields, and multipart uploads are different contracts. Avoid sending multiple competing body representations.
Test failures as well as success#
Check invalid credentials, missing records, provider errors, and timeouts. A failed request can stop the workflow before the next node, so do not assume a later Function will always receive an error body to transform.
Use Workflows → HTTP Requests to inspect outbound calls and the workflow session to see where the request occurred. Newer diagnostics can identify DNS, TLS, connection, timeout, and response-processing failures; older logs may contain less detail.
Retry deliberately#
Confirm the node's configured timeout and retry behavior. Retrying a create, email, or payment operation can duplicate its effect. Use the provider's idempotency contract when available and test with fixtures before enabling repeated writes.
Follow the complete service integration guide for a worked pattern.
Node referenceCondition and Decision nodes
Use a Condition for one boolean choice and a Decision for ordered routing rules. Both change which path executes, so test every outcome with representative input.
Condition: true or false#
A Condition runs Python and interprets its result as a boolean. Connect the true and false outputs to their intended targets.
For a preceding Function named ItemCount that returns a validated integer:
python
return int("${ItemCount}") > 0
Read inputs through selectors and validate their expected types. Return a boolean result rather than a JSON object such as {"allowed": true}. An exception is a failed execution, not the false branch.
When the Condition chooses a branch, execution follows that branch; it does not also follow an unrelated ordinary next connection in the same hop.
Decision: first matching rule#
A Decision evaluates its enabled rows in order. Each row compares left and right operands with its configured operation. The first true row with a connected target selects the branch.
For example, route a normalized priority value to an urgent path or a standard path. Keep rules mutually understandable, and put more specific rules before broader ones. A later rule may never run if an earlier rule always matches.
Plan the unmatched case#
Do not assume an implicit fallback exists. Review what happens when no Decision row matches and configure a deliberate fallback path using the editor's supported rules or another explicit branch.
Use these test cases:
- Each positive rule independently.
- False and unmatched values.
- Missing, empty, and null input.
- Values with an unexpected type or casing.
Keep authorization on every path#
Place shared authorization and validation before branching when every branch needs them. When editing an existing graph, preserve all branch connections and inspect the executed path afterward. A visually intact branch can still point to the wrong node after rewiring.
Node referenceDatabase node
A Database node executes SQL against its configured database and makes the result available to later workflow steps. Choose the environment binding and query contract before adding it to a live path.
- Create or connect the database under Workflows → Databases.
- Add a Database node and give it a meaningful name such as
ListTasks.
- Select its sandbox and production database bindings.
- Enter SQL for the selected database engine.
- Connect it after input validation and authorization.
For a SQLite table created by the database API guide:
sql
SELECT id, title, status
FROM Tasks
ORDER BY id DESC
LIMIT 20;
Pass values as data#
Cloudgate binds selectors in saved SQL as values. A selector cannot supply a table name or an executable SQL fragment within a statement. Use fixed table and column names and filter on validated input.
For explicit parameter input, use the supported parameterized script form described in SQL and parameters. Do not build SQL by concatenating text from a request body.
Inspect the result#
Run the query against sandbox fixture data and inspect the actual output. Reference ${ListTasks} directly in a downstream Function if you need to normalize the result for a client.
SELECT results with rows are serialized as a JSON array. An empty SELECT can produce the text No records found rather than an empty array. Normalize that case in a response Function if your client expects a consistent collection. The database API guide shows the complete pattern.
Treat mutations separately#
INSERT, UPDATE, and DELETE statements change the selected database immediately when the node runs. Verify the binding before testing. Scope writes to the intended record and authenticated owner, and test affected-row behavior for a missing record.
Node or workflow rollback does not undo data already written. Use backups and a deliberate migration plan for schema changes. If a SQL operation fails, inspect that node's error before retrying the entire workflow; earlier external effects may already have completed.
Node referenceSchedule node and scheduled jobs
Use a normal schedule when timing and inputs are known in advance. Use a Schedule node when another workflow must determine those inputs at runtime.
Choose the right approach#
| Requirement |
Approach |
| Refresh a report every hour |
Create a job in Workflows → Schedules |
| Refresh a shared service token |
Schedule a dedicated refresh workflow |
| Start follow-up work using an ID returned by an earlier node |
Add a Schedule node to the initiating workflow |
| Run an existing job immediately |
Use the schedule's execution control |
A scheduled worker does not need a Schedule node inside itself. The schedule starts that worker.
Select the target action, schedule timing, state, and body. The body can use values from preceding nodes. The target receives that stored body as ${body} when it executes.
json
{
"orderId": "${CreatedOrderId}"
}
The node creates or updates a schedule using the target action, normalized body, and environment. It does not execute the target inline. A one-time active schedule created by the node is queued after the initiating transaction commits.
Review recurring timing#
Choose an interval supported by the schedule editor. Daily, weekly, and monthly settings use a UTC start time; confirm the displayed timezone before translating a business deadline. Review the weekday or day-of-month selection and the schedule's active state.
Make jobs safe to repeat#
Jobs can be retried or manually replayed. Use a stable business identifier and make repeated runs detect already-completed work. Put required data in the schedule body or a database, not only in the original run's session keys.
Inspect schedule state and resulting action logs when a job does not run. Confirm its environment, target action, release availability, and inputs. See the scheduled worker guide for a complete setup.
Node referenceSelector node
A Selector node writes a value to a stored Key Selector while a workflow executes. Its main use is a dedicated scheduled refresh flow that keeps a shared service token current.
Use a dedicated refresh flow#
text
Scheduled refresh action
→ Request service token
→ Extract token
→ Selector saves shared token
→ End
Business action
→ Read shared token
→ Call service
Configure the selector name, controller or global scope, and body template. The body can reference the preceding node, for example ${ExtractToken}. Use an appropriate secret type for a sensitive shared value.
Keep request-local values in the session#
For a user-facing request that logs in to a service and immediately calls it, use the login result directly:
text
Login Request → ExtractToken Function → Business Request
The Business Request can use Bearer ${ExtractToken}. A Selector node between these steps would persist data unnecessarily and can mix concurrent users' tokens. Cloudgate's workflow validation also rejects the unsupported authentication-to-selector-to-business pattern.
To store a manually supplied URL, key, or configuration value, use Workflows → Key Selectors. Creating a stored selector does not require adding a runtime node to every workflow that reads it.
Sandbox and production values are configured separately. Verify the scheduled refresh action's environment and intended destination before enabling it.
Test the lifecycle#
Use a test service account, run the refresh action, and confirm the business action reads the expected value. Check what happens if refresh fails or the token expires before the next run. Do not log the token to prove the refresh succeeded; use status, expiry metadata, or a harmless authenticated service call.
Node referenceWebSockets and workflow messages
Use a WebSocket resource and node to push workflow events to connected clients. This is useful for progress updates, live dashboards, and notifications that should arrive without polling.
Create the channel#
Open Workflows → WebSockets and create or select the resource your clients will use. Review its connection details and access configuration. Use the generated or SDK-supported connection method rather than inventing a WebSocket URL from an HTTP action route.
Publish from a workflow#
Add a WebSocket node, select the resource, and configure the message body. Values from earlier nodes can be included with selectors.
Design a stable event contract, for example:
json
{
"type": "report.ready",
"reportId": "example-report",
"status": "ready"
}
Use an event name and a record identifier so a client can decide whether to refresh its data. Keep private records behind authorized API reads rather than broadcasting an entire sensitive payload.
Connect and verify#
Connect a test client before running the workflow. Check that it receives one correctly shaped message and handles disconnect/reconnect. Test with the same workspace and environment configuration used by the publishing node.
A node can continue to a next step if connected; otherwise it is terminal for that path. Keep your HTTP response contract explicit when publishing events from a request-driven workflow.
Separate acknowledgement from completion#
An asynchronous action may return a receipt while processing continues in the background. Use a durable record or status endpoint to establish completion. A disconnected client can miss a transient event, so the app should be able to refresh its current state after reconnecting.
Use logs to verify the workflow actually reached the publishing node before diagnosing the client connection.
Node referenceIdentity nodes
Identity nodes let a workflow authorize an app user and perform supported identity operations. Put authorization before business reads or writes and use its result as the trusted user identity.
IdP Authorize#
Add IdP Authorize as the action's entry node and connect it to the previous first business node. It validates the bearer token supplied in Authorization.
Choose the output your workflow needs:
| Output |
Use |
| User ID |
Record ownership and user-scoped queries |
| User info |
Profile-aware business logic |
| Token info |
Logic that needs token information |
If the node is named IdpAuth and returns a user ID, downstream nodes use ${IdpAuth}. Do not substitute a caller's query or body userId for this result.
Missing or invalid authentication returns 401 unless anonymous access is explicitly enabled. Optional role and permission gates can return 403 for authenticated users without the required access. Anonymous access is a separate setting; do not enable it to bypass a failed authentication test.
IdP Users: list or update#
The node supports user lookup/list operations and an Update user operation. For an update, choose an exact lookup field: ID, email, phone number, or identity number. Supply a lookup value and a JSON object containing supported changes.
json
{
"name": "Avery",
"surname": "Example"
}
The lookup must identify exactly one eligible account in the current tenant. Omitted or null fields stay unchanged. The output is a safe user object; it does not contain passwords or hashes.
This is a privileged server operation. Authorize the caller before reaching it. Password or identity migration also requires a trusted authentication step; knowing an email address does not prove account ownership.
Sandbox and production share tenant app-user records. Use fixture accounts for update tests.
Some deployments expose additional authentication-state operations. Use the operation-specific editor and supported contract; do not infer their inputs from the list/update examples.
See identity setup and users and roles.
Node referenceIntegration and specialized nodes
The node library includes configured service integrations as well as core workflow nodes. A library entry provides a starting configuration; its account, input, and external behavior still need review.
Use a service connector#
The catalog includes integrations such as OpenAI, Slack, SendGrid Email, and Firebase Push. Availability can depend on the deployed library and your workspace.
- Choose the integration that matches the operation you need.
- Read its input fields and expected result.
- Configure its account or service credentials using the supported secret selectors.
- Bind inputs from validated request data or prior nodes.
- Test with a dedicated recipient or fixture before enabling normal traffic.
If the connector does not cover the provider operation you need, use an HTTP Request node with the provider's actual API contract.
App-user notifications#
The IdP Notification node creates a persistent app notification. Configure all users or one user as the audience, then supply a title, body, optional action URL and label, and a supported style such as info, success, warning, or danger.
The execution determines the tenant and environment. The result includes the notification ID and recipient count. Test the recipient selection before using a broad audience. App notifications are distinct from email delivery and workflow WebSocket messages.
Wallet and transaction operations#
Wallet Payment and transaction-oriented library entries can have financial side effects. Configure the recipient, amount, reference, and required authorization according to the selected node's contract. Do not treat a sandbox workflow URL as proof that the underlying wallet or external account is a test resource.
Use the relevant product's test mode or a non-mutating verification path for initial setup. Check duplicate/retry behavior and record the transaction reference for investigation. A workflow response alone is not a settlement confirmation.
Review after importing#
Imported nodes can refer to resource IDs and selectors from another workspace. Rebind them and confirm environment values. Inspect their scripts and requests before release, especially when they send messages, transfer value, or modify external records.
Databases & dataCreate and connect databases
Cloudgate workflows can use managed SQLite data and supported remote SQL connections. Start by choosing the database engine and the sandbox and production resources your workflows should reach.
Choose your storage#
Use a managed database for data that belongs with your Cloudgate solution. Connect a remote database when an existing system remains the source of truth or requires its own operating model.
SQL Server, PostgreSQL, MySQL, and SQLite use different SQL dialects. The query you write must match the selected connection; a working SQLite example is not automatically portable to another engine.
Set up a resource#
- Open Workflows → Databases.
- Create a database or configure the supported connection type.
- Name it for its purpose and environment.
- Test connectivity with a read-only query.
- Create the required schema using an intentional migration or setup script.
- Bind the Database nodes that should use it.
Use credentials with the operations your workflow actually needs. Confirm that the running Cloudgate service can reach a remote database; connectivity from your laptop alone is not sufficient.
Plan environment separation#
Use separate test data for sandbox development. Inspect each Database node's binding before executing a write. Two different API prefixes can still reach the same database if both bindings point there.
Identity-provider accounts and platform records are separate from your workflow's application database. Do not query internal platform tables as a substitute for supported identity operations.
Keep the API contract stable#
Select explicit columns and shape the public response deliberately. Add limits and filters for growing collections. Index fields used for frequent lookups, and confirm the query plan in the database's tooling when performance matters.
See SQL and parameters, the database API guide, and backup planning.
Databases & dataSQL and parameters
Write SQL with fixed statement structure and pass changing values as parameters. This keeps request data separate from executable SQL and makes queries easier to test.
Selectors are values#
In a saved Database script, Cloudgate binds ${...} selectors as command parameters. A selector cannot replace a table name, a column name, or an arbitrary WHERE clause.
Keep the schema names fixed and validate input before querying. If clients can choose a sort field, map their choice to a small set of developer-authored statements instead of injecting the supplied name into SQL.
A parameterized script starts with the Cloudgate marker and uses named parameters:
sql
-- cloudgate:parameters
SELECT id, title, status
FROM Tasks
WHERE status = @status
ORDER BY id DESC
LIMIT 20;
Supply a JSON object in the Database node's input with the matching parameter name:
For dynamic input, use validated values or a previous node's JSON object as supported by the input template. Test missing parameters and null values against your selected database engine.
Use the database's quoting rules#
For new SQLite SQL, use single quotes for literal strings and double quotes for identifiers:
sql
INSERT INTO "Tasks" ("title", "status")
VALUES ('Review O''Brien account', 'open');
Bound parameters are preferable for runtime values. Compatibility with older quoting behavior is not a reason to build SQL from arbitrary text.
SQL generated by a Function#
An advanced workflow can make the entire Database script one reference, such as ${BuildQuery}, to a successful Function that ran earlier in the same execution. That Function's actual output becomes the SQL source.
This mode is for developer-authored SQL generation. Request selectors and stored keys cannot impersonate the Function result. Generated SQL is not recursively expanded and cannot contain ${...} placeholders. Prefer a parameterized statement with input JSON when generated SQL needs user data.
Test this mode with a full workflow run: isolated node tests and resumed sessions cannot supply an earlier Function result that did not execute in the current run.
Databases & dataBack up and recover application data
Workflow versions preserve behavior; database backups preserve data. Plan both so a code rollback does not leave you without a way to recover records or schema changes.
Define the recovery target#
For each database, record its owner, environment, backup method, storage location, retention, and restore procedure. Decide how much recent data you can afford to lose and how quickly the app needs to recover.
Managed databases and remote database services may expose different backup controls. Use the controls available for the selected resource or the database provider's supported backup process. Do not assume exporting a controller also exports its database contents.
Before a schema change#
- Verify that you selected the intended database and environment.
- Take or confirm a usable backup using the resource's supported method.
- Test the migration with representative sandbox data.
- Check compatibility with the currently released workflow and app.
- Prepare a recovery procedure for both schema and data.
Avoid copying an actively written SQLite file through an arbitrary file operation. Use a consistent database backup mechanism or an operationally controlled pause.
Prove that restoration works#
Restore a backup into an isolated database. Confirm tables, row counts, important records, and a representative read workflow. Record how long recovery took and any configuration that had to be restored separately.
Keep credentials, selector values, schedules, and workflow versions in the recovery inventory. A restored database alone may not be enough to run an application.
Recover from an incident#
Stop the affected writes where appropriate, preserve evidence, and identify the last known good state. Restore into a separate resource first when possible, inspect the result, then deliberately rebind the workflow or replace the affected data.
Confirm the recovered application with real client reads and a controlled write before resuming schedules. Keep a record of what was restored and what occurred after the backup so reconciliation is possible.
Access & securityConfigure API access
Gateway credentials identify an integration, while IdP tokens identify app users. Configure the layers your action requires and test them together from the client that will make real requests.
Choose the access model#
| Mechanism |
Purpose |
| API key access |
Identify and scope a programmatic integration |
| Signed requests |
Prove possession of the API secret without sending it as a plain request field |
| Basic authentication |
Authenticate a client using the action's configured Basic-auth contract |
| IdP Authorize node |
Authenticate and authorize an application user within the workflow |
| CORS Origin |
Control browser origins for gateway requests |
| Origin Validator |
Apply country and IP rules |
A bearer token does not automatically satisfy a gateway API-key requirement. Gateway checks happen before the workflow's IdP Authorize node.
Create and scope a key#
Open Workflows → API Key Access. Configure the intended environment and choose the appropriate access scope. Keys can be blocked, restricted to selected actions, or granted broader access.
Use separate credentials for distinct integrations so access and usage can be reviewed independently. If request limits are enabled, inspect their daily, weekly, and monthly settings and the affected environment.
The action's generated request examples or Postman collection are useful for matching the enabled authentication mode. Do not combine several authentication methods by guesswork when troubleshooting a rejected request.
Browser applications#
Use an endpoint designed for browser access, with appropriate user authorization for private data. A browser's identity token and its allowed origin serve different purposes. Configure both when required.
Verify the boundary#
Test a valid caller, a missing credential, an invalid credential, and a caller outside the allowed action scope. For a user-authorized workflow, also test a signed-in user without the required role or permission.
Check the gateway response and action logs before changing the graph. For signatures see request signing; for browser failures see CORS.
Access & securitySign a gateway request
Cloudgate signature authentication uses HMAC-SHA512 over the timestamp, method, path with query, and exact request body. The client sends the API key, timestamp, and hexadecimal signature as headers.
Build the signing payload#
Concatenate these values without separators:
text
timestamp + UPPERCASE_METHOD + pathname_and_query + raw_body
The timestamp is Unix time in milliseconds. The gateway checks it against a 30-second window, so the client clock must be accurate. The path includes /sbx/ or /prod/ and the query string, but not the scheme or hostname.
Node.js example#
This example calls the GET action from the quickstart. Supply credentials through the server process environment and use your actual API hostname.
javascript
import { createHmac } from "node:crypto";
const url = new URL(
"/sbx/getting-started/hello",
process.env.CLOUDGATE_API_ORIGIN
);
const method = "GET";
const body = "";
const timestamp = String(Date.now());
const payload = timestamp + method + url.pathname + url.search + body;
const signature = createHmac("sha512", process.env.CLOUDGATE_API_SECRET)
.update(payload, "utf8")
.digest("hex");
const response = await fetch(url, {
method,
headers: {
"X-Api-Key": process.env.CLOUDGATE_API_KEY,
"X-Timestamp": timestamp,
"X-Authentication-Signature": signature
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.json());
Sign the bytes you send#
For a POST or PUT, serialize the body once, include that exact string in the payload, and send the same string as the request body. Set Content-Type: application/json for JSON.
Do not reformat JSON after signing. Whitespace, query ordering, escaping, and trailing slashes can change the signature. Generate a fresh timestamp for a new request rather than replaying an old signed example.
Troubleshoot rejection#
Check the key's environment and action scope first. Then compare method, path/query, body serialization, timestamp units, and clock drift. A correct signature can still be rejected by an access rule or request limit.
Use the generated Postman collection to compare a known request configuration without logging the secret itself.
Access & securityAllow browser origins with CORS
CORS Origin controls which websites can make browser requests to your sandbox and production gateway APIs. It is configured separately from country and IP validation.
Open Workflows → CORS Origin. Sandbox and production each have an enable switch, an allowed-origin list, and a browser-credentials option.
- Enable the environment you want to restrict.
- Add the exact browser origin for each app.
- Enable browser credentials only if the integration needs them.
- Select Save changes.
text
https://app.example.com
http://localhost:5173
An origin contains the scheme, hostname, and optional port. Do not include a page path, query, fragment, username, wildcard, or the literal value null. Different subdomains, schemes, and non-default ports need separate entries.
Built-in Cloudgate origins#
cloudgate.dev and its subdomains are allowed automatically. They do not need to be added to the list. With validation enabled and an empty list, only those built-in origins are allowed. Each environment accepts up to 100 additional origins.
Disabling an environment preserves its saved origins and credentials setting. Its browser-origin restriction no longer applies until enabled again.
What happens to a request#
An allowed preflight returns 204 without running the workflow. An origin outside the enabled allowlist is rejected with 403 before execution, including simple browser requests that have no preflight.
Use the tenant's API hostname. Preflights do not carry API-key or login credentials, so the hostname must identify the tenant.
Requests without an Origin header continue through the existing API controls. CORS is a browser policy and does not replace gateway authentication or user authorization.
Debug in the browser#
Inspect both OPTIONS and the actual request. Confirm the exact origin, selected environment, API hostname, and response status. A permitted origin can still receive an authentication error; fix that access layer rather than adding more origins.
Access & securityCountry, IP, and incident access controls
Use Origin Validator for network-origin restrictions and Under Attack controls when responding to suspicious traffic. Review the affected scope and verify that intended clients still have access.
Origin Validator#
Open Workflows → Origin Validator to configure country and IP access rules. Review which request surfaces and environments the rule applies to before saving it.
Record the integration's actual outbound IP address when adding an allow rule. A user's local network address may differ from the public address seen by the gateway, especially behind proxies, VPNs, or hosted services.
Test both an allowed request and a denied request. Check API authentication independently: an allowed network is not a substitute for a valid credential or user permission.
Browser origin is a separate setting#
The URL of the website making a browser request belongs under CORS Origin, not the country/IP rule list. An application can fail either check independently.
See CORS configuration for exact origins, ports, and preflight behavior.
Under Attack mode#
The Hub exposes Under Attack as an incident control, including a prominent footer action. Before activating or changing it, review the confirmation and the traffic surfaces affected by the current configuration.
Use logs and metrics to establish the symptom first: unusual request volume, repeated denials, or a specific abusive client. Apply the narrowest effective control and keep an operator access path available.
After applying the change, check legitimate API clients, browser apps, and scheduled integrations. Record when the control was enabled and the conditions for returning to normal operation.
Investigate a blocked request#
Compare the request time, environment, route, key scope, origin, and network rule. If a client recently moved to a new host or network, confirm its current address with the service owner. Keep the evidence with the incident or support ticket so the next reviewer can reproduce the result.
Access & securityTeam users, roles, and permissions
Account users administer your Cloudgate workspace. Give each person the permissions needed for their work, and manage application end users separately through the Identity Provider.
Add a team member#
Open Settings → Users and use the supported creation or invitation flow. Assign an appropriate role and confirm the person is entering the intended workspace.
Use Settings → Roles to review capabilities such as workflow editing, release approval, logging, databases, and account administration. A role's display name does not explain every permission it grants; inspect the permission settings before assigning it broadly.
Separate editing from release authority#
A person who can edit a workflow may not be allowed to approve or publish a release. Design roles around your review process and verify the resulting controls from that user's perspective.
If a screen or button is missing, check the relevant view and edit permissions, private controller/action visibility, and enabled account features before assuming the data has disappeared.
Secret-selector access#
Secret selectors have additional reveal and edit controls. Both Text (Secret) and Base64 (Secret) use protected secret access. Ordinary list views mask their values, and exports omit secret contents.
Grant secret access only when needed for configuration or diagnosis. Test with masked views where possible; most workflow debugging needs status and shape rather than the credential itself.
Protect your account session#
Use the account's security settings to configure available two-factor authentication and recovery options. Keep recovery information accessible to the account owner and review linked accounts when changing sign-in methods.
Review access over time#
Check permissions when people change responsibilities or leave the team. Preserve relevant audit records and distinguish a user's workflow edits from the executions those workflows later produced.
For customer-facing user roles, read App Users and App Roles. Those grants are independent of account-user roles.
Build web appsBuild applications with Cloudgate
Cloudgate web apps combine an interface with workflow APIs and shared identity services. Choose visual widgets or application source according to the interaction you need to build.
Choose an authoring mode#
| Mode |
Good fit |
| Visual Builder |
Operational dashboards, forms, lists, and API-backed internal tools |
| Code Editor |
Custom layouts, routing, components, and source-based development |
| App Store / templates |
Starting from an established application or reusable design |
Open Web Apps → Web Apps to manage the selected application. Visual-builder pages and components belong to a specific app; open that app's builder from the app list.
Define the API contract first#
For each page, list the data it reads and the actions it can perform. Confirm request methods, required fields, identifiers, response wrappers, and denied-access behavior.
Build one complete path before adding many screens: load a record, display it, handle an empty result, and show a useful error. For write interactions, validate on the server even if the form also validates locally.
Use shared services deliberately#
Apps can use IdP users and roles, notifications, files, and other tenant services. Some settings apply across apps, including identity and email configuration. Check that scope before changing a shared setting for one app.
Operate the app#
Use Dashboard and Analysis to inspect traffic and app activity. Use workflow logs for the API calls behind the page. App metrics and gateway metrics answer different questions: a page visit is not the same as a successful business operation.
App releases have their own review and rollback lifecycle. Workflow dependencies must be compatible with the app version you publish.
Continue with the Visual Builder, Code Editor, or first-app guide.
Build web appsCreate pages in the Visual Builder
The Visual Builder assembles an app from pages, sections, and widgets. Start with a clear page purpose, then bind each data-driven widget to a tested workflow.
Open the selected app#
Go to Web Apps → Web Apps and open the app in the builder. Create or select a page inside that app. Use a stable page route and a descriptive navigation label.
Lay out the page#
- Add the page header and a short description of the task.
- Choose a layout that works for the main content.
- Add the required widgets, such as a table, form, or chart.
- Configure labels, columns, actions, and sizing.
- Preview the page at desktop and narrow widths.
Keep primary actions close to the data they affect. Use a confirmation dialog for destructive actions and show the user which record is selected.
Connect data#
Configure an input API action for the widget or section and select the path to the relevant response data. A table expects a collection; a form view expects one record. Match the API's real output rather than its display name.
Test the widget with multiple records, an empty result, and an API error. Add loading and empty-state wording that explains what the user can do next.
Apply branding consistently#
Use the app's branding and theme settings for shared colors, identity, and appearance. Keep text contrast, focus visibility, and button labels readable across the whole app instead of styling each widget independently.
Global keys can share app values across pages. Keep page-specific state local when possible so one page's filters do not unexpectedly affect another.
Preview the full journey#
Open the page from the app's navigation, refresh its direct URL, and test it with the intended user role. Verify access on the API as well as the visible page.
See widget choices, events and data, and publication.
Build web appsWidget reference
Widgets turn workflow data into useful page interactions. Choose a widget for the data shape and user action, then configure its bindings and states.
| Widget |
Purpose |
Check before publishing |
| Table |
Searchable, paginated collections with row actions |
Collection path, stable IDs, columns, paging, empty state |
| Form View |
Display or edit a single record |
Field types, required values, save contract |
| Insert Form Modal |
Create a record in a dialog |
Defaults, validation, duplicate-submit handling, refresh |
| Confirm Modal |
Confirm an action on a selected record |
Target identity, consequence, cancel behavior |
| Chart |
Compare or trend a series |
Category/value paths, units, missing values |
| Counter / Chart Counter |
Show a metric with optional context |
Numeric value, period, loading and unavailable states |
| Image View |
Preview image data |
Source, alternative text, sizing, failed load |
| Blank |
Custom content or behavior |
Accessibility, responsive layout, data and event contracts |
Given an API response:
json
{
"result": {
"items": [
{"id": 1, "title": "Review request", "status": "open"}
]
}
}
Set the table's data input path to result.items. Define columns using id, title, and status. Configure paging and search to match the API's behavior; a client-side page size does not automatically implement server-side pagination.
Pass the selected record's stable ID into the action. For updates or deletes, verify authorization and record ownership in the workflow. After success, refresh the table or update its data so the displayed state matches the server.
Label units and the reporting period. Distinguish a legitimate zero from unavailable data. Check that category labels and series lengths match, and decide what happens when the API returns no points.
Prefer a configured widget when it already supports the interaction. When using a Blank widget or custom code, follow the editor's current contract for data, events, and controls. Test keyboard interaction and clean up any event listeners created by the widget.
Build web appsConnect widget data and actions
A useful page has a clear cycle: load data, collect a user action, call a workflow, and refresh the visible result. Keep each step's input and output explicit.
Use an input action to fetch the data a widget needs. Configure the method, route, required parameters, and the path within the response. A saved request sample is an example, not a validated schema; confirm the real workflow contract.
For a filtered table, identify whether filtering happens in the browser or in the API. When the filter changes, reset or update paging consistently so the table does not request an empty page beyond the new result set.
Action flow#
text
Select record → open form or confirmation
→ validate input
→ call workflow
→ show result and refresh data
Use event keys or the builder's supported event controls to connect widgets. Name events for their purpose, such as an order being selected or a list needing refresh, and document the payload fields the receiving widget expects.
Keys and shared state#
Page/widget values can supply API input. Global keys can share configuration or state across app pages. Keep the scope intentional and avoid treating a browser-provided user ID or role as an authorization decision.
Workflow Key Selectors live on the server and have their own scope and environment values. They are not the same as arbitrary client-side widget state.
Handle completion and errors#
Disable or guard duplicate submissions while an action is pending. Retain useful form input when a request fails. Close a dialog only after the operation has succeeded or the user chooses to cancel.
Show a specific, safe error message and provide a retry path. Distinguish validation failures, denied access, missing records, and temporary service errors where the API contract permits it.
For custom widget code, use the APIs exposed by the current editor and inspect the generated configuration. Test the entire interaction in preview with the intended user role before publishing.
Build web appsDevelop an app in code
Use the Code Editor when your app needs custom source, components, and routing. The hosted developer workspace combines editing, preview, build output, and source control where configured.
Start the workspace#
Open Web Apps → Go to Code Editor, select the app, and start its Build environment. Check the current app, developer, branch, and preview target before changing files.
Apps connected to Git provide a persistent workspace per linked developer. Workflows, sandbox data, and app settings remain shared. Apps without Git use a shared workspace with explicit handover.
Work with source control#
- Open Source control and inspect the current branch and commit.
- Create a feature branch if needed; a new workspace does not automatically invent one.
- Edit and preview your changes.
- Review changed files, select the intended files, and Save and commit.
- Fetch, push, or update from origin through the explicit controls.
Switching a dirty branch requires saving its draft or committing first. Branch operations can stop preview/editor compute; restart the environment afterward. Updates from origin require a clean branch and fast-forward safely. Resolve merges through your repository workflow.
Create a release from a commit#
For connected Git apps, Changes → Create release from commit uses a clean committed app tree. Production candidates must come from the configured production release branch. The candidate records an exact source snapshot; later edits do not alter it.
A local commit and a successful push are different events. Review origin status and your team's repository process, but do not assume pushing alone publishes the app.
Handle conflicts#
If a release or source update reports that the reviewed revision changed, refresh the state and inspect the new differences. Preserve your draft and resolve the conflict explicitly rather than retrying an outdated write.
Continue with SDK integration and release review.
Build web appsClient SDKs and app updates
Cloudgate provides a JavaScript/TypeScript client SDK and a React SDK for application integration. Use the package that matches your app and its generated template rather than mixing setup instructions from different packages.
Select the package#
| Package |
Role |
@cloudgatedevs/cloudgate-client |
JavaScript/TypeScript client integration, including gateway requests and supported session/connection features |
@cloudgatedevs/cloudgate-client-react |
React application integration and Cloudgate platform features |
For a code app, inspect its existing package.json, lockfile, and template configuration first. Follow the installed SDK's exported API and generated app setup for providers, authentication, routing, and API environment selection.
Verify the integration#
Test a real sandbox page request from the browser. An internal sample request may bypass IdP authorization for development testing and can succeed while the browser receives 401.
Check the public route, actual response fields, loading states, empty results, and denied access. The workflow's saved examples are not a guarantee that a create/update form has the correct request schema.
Review an SDK update#
The developer workspace exposes Info & updates for the React SDK. It distinguishes the project dependency, the running version when reported, and available registry updates. Local SDK checkouts and unsupported package-source arrangements need their own update workflow.
For supported non-Git app updates, stop the Build environment and apply pending changes before preparing the update release. The update produces a candidate for normal review; it does not immediately replace the live app.
For Git-connected apps, update and commit package.json and its lockfile in Build, then create a release from the designated branch. The one-click update path directs Git apps to this source-controlled process.
Test compatibility#
Preview login, navigation, API calls, and any SDK-dependent widgets. Check pinned workflow dependencies separately. Rolling back an app artifact restores the earlier build; it does not automatically rewrite the source dependency files.
Build web appsPublish and roll back web apps
An app release captures a built version for review and publication. Preview the candidate, confirm its API dependencies, and verify the live app after approval.
Prepare the candidate#
Save the intended visual-builder changes or commit the source for a Git-connected app. Confirm the selected target environment, build command, output configuration, and production branch where applicable.
Run the app's available checks and inspect build logs. A successful build proves the source can produce an artifact; it does not prove that sign-in, database reads, or business forms work.
Review in Releases#
Open Web Apps → Releases and inspect the candidate's source information, build result, preview, and any scan findings. Review the actions available to your role, including approval and publication.
Check these user journeys in the candidate:
- Landing page and direct navigation to a nested URL.
- Sign-in, sign-out, expired session, and denied access.
- A populated collection and an empty collection.
- Filter changes, paging, and refresh.
- A controlled form submission and a failed request.
- Narrow-screen layout and keyboard navigation.
Use fixture data for writes. A preview can still call shared services, depending on its configured environment and workflow bindings.
Coordinate workflow dependencies#
Confirm the app's API routes, request bodies, and response shapes against the intended workflow versions. A web app release is not a substitute for workflow release review. Do not include unrelated workflow drafts just because they exist in the same workspace.
Verify publication#
Open the live app in a fresh session and exercise its key interaction. Check corresponding workflow logs and app metrics. Confirm that clients are using the expected release and API environment.
Roll back an artifact#
Use the available release rollback controls to promote a known earlier artifact. This changes the deployed app, not its Git branch, source files, database contents, or completed external operations. Verify that the older app remains compatible with current workflow contracts and data before relying on rollback.
Identity & app usersSet up the Identity Provider
Cloudgate's Identity Provider manages the people who sign in to your apps. Configure the sign-in experience, allowed redirects, and registration behavior before connecting a client application.
Open Web Apps → Identity Provider. Review the tenant's token, redirect, and registration settings. Use the exact callback URLs required by your application's supported login flow, including the local development callback when needed.
Identity settings are shared tenant services. Check existing apps before changing registration or redirect configuration for a new app.
Create a test account and role#
Use App Users to create or manage a dedicated test account, and App Roles to review its grants. Start with the permissions the app actually requires.
Account users under Settings → Users administer Cloudgate itself. They are not interchangeable with app users; a linked account can connect the experiences without making their permission systems identical.
Connect the application#
Use the app template or installed SDK's supported identity setup. Configure the tenant, API environment, callback, and post-login destination. Let the supported session flow manage token handling and refresh rather than inventing a second login mechanism in the app.
Protect workflow entry#
Add an IdP Authorize node before private business operations. Choose its output and optional role/permission requirements. Use its result for record ownership checks and queries.
Remember that gateway API-key requirements are a separate layer. A valid app-user token does not automatically satisfy a required gateway key.
Verify the whole journey#
Test registration if enabled, login, callback navigation, refresh, sign-out, and an expired or invalid session. Call a protected workflow with no token and with a user lacking permission. Confirm that neither can reach the private operation.
Use fixture users: sandbox and production workflows share the tenant's app identities. Continue with authentication patterns and users and roles.
Identity & app usersManage app users and roles
App Users and App Roles control access within your applications. Manage them from the Web Apps area and keep them distinct from the account-user roles that govern the Hub.
Manage an app user#
Open Web Apps → App Users to find, create, and maintain users. Check the user's active state, profile, role, and account links before changing access.
Use a dedicated fixture account for development. Updating an app user through a sandbox workflow can still change the same identity used by production apps.
Review role permissions#
Open App Roles to inspect built-in and custom roles. Built-in names include User, Contributor, and Admin, but permissions can be edited. Evaluate the current grants rather than relying on a name alone.
For back-office features, access requires backoffice.access plus the operation-specific permission. The UI can hide navigation or disable actions, while the native IdP APIs enforce permissions on the server.
Typical defaults give Admin broad back-office access, Contributor read access with selected content capabilities, and User/custom roles no back-office access. Always review the stored role when changing a real account.
Authorize custom workflows#
Use an IdP Authorize entry node with the required role or permission, and enforce record ownership in the business logic. A client-side route guard is helpful navigation but does not secure a direct HTTP request.
For user-scoped records, use the authorized identity result rather than accepting a userId supplied by the browser.
Update users through a workflow#
The IdP Users node supports controlled lookup and update operations. It is a privileged operation that needs a trusted preceding authentication/authorization step. It does not expose arbitrary role, activation, or tenant changes through its profile patch.
After changing a role, test both allowed and denied actions from the affected app. Also inspect any cached UI state: server authorization and the screen's current navigation may update on different schedules.
Identity & app usersAuthenticate clients and authorize users
Authentication establishes who is calling; authorization decides what that caller may do. A Cloudgate application can require both gateway integration access and an app-user identity.
Browser-to-workflow flow#
text
User signs in through the supported IdP flow
→ app obtains its session
→ request includes Authorization: Bearer <token>
→ gateway access checks run
→ IdP Authorize validates the user
→ business logic checks ownership and permissions
Configure CORS for the browser origin when needed. CORS permission, a valid gateway signature, and a valid user token answer different questions.
Use the authorized identity#
Name the IdP Authorize node clearly, such as IdpAuth. For a User ID output, use ${IdpAuth} when querying the caller's records. Remove redundant caller-controlled user IDs from the public contract unless an authorized administrative operation explicitly needs them.
If the workflow forwards a token to another service, confirm that service accepts that token's issuer, audience, and purpose. A token valid for one system is not automatically valid for another.
Server applications#
Use the configured gateway authentication for server integrations. If an operation acts on behalf of an app user, preserve the user authorization contract as well. A server credential alone should not silently select an arbitrary user account.
Test real authentication#
Some internal development sample requests bypass IdP authorization and report that mode. They help test business logic but do not prove a public browser request will work. Run a separate public request with a real session and verify the response.
Test missing, expired, invalid, and insufficiently privileged tokens. Expect authentication failures to prevent downstream work. Do not fix a failing test by enabling anonymous access on a private workflow.
See API access, identity nodes, and CORS.
Identity & app usersEmail and app notifications
Cloudgate provides shared app-user email settings and persistent in-app notifications. Choose the channel that fits the message and verify the recipient scope before sending.
Open Web Apps → Email Settings to configure custom SMTP and the email template. Custom SMTP is optional; when it is disabled, app-user email uses the platform delivery configuration.
These settings apply across the tenant's apps and sandbox/production identity flows. Changing them for one app can affect other app-user messages.
Review the sender name and address, server, port, TLS settings, and authentication. Saved SMTP passwords are not returned as readable values. An omitted or empty password preserves an existing secret; use the explicit clearing control when you intend to remove it.
Verify delivery#
Use the available test or a controlled identity flow with a dedicated recipient. Check delivery and the appearance of links, branding, and text. Saving SMTP settings does not itself prove an email can be delivered.
If delivery fails, confirm the sender configuration and provider restrictions before repeatedly triggering user messages. Do not copy an obsolete app-local SMTP configuration over shared tenant settings without reviewing its scope.
Send app notifications#
Use Web Apps → App Notifications for persistent messages to app users and recipient/read information. A workflow can also send a message through the IdP Notification node.
Choose all users or a specific user, then supply a title, body, optional action URL/label, and style. Start with a test user and verify that the link opens the intended app location.
Keep channels distinct#
An app notification is not an email delivery receipt. A WebSocket message is a transient live event. Support-ticket correspondence uses its own ticket communication flow. Check the specific channel's status when investigating a missing message.
See specialized nodes and support tickets.
AI & collaborationWork with AI agents
Cloudgate agents help you build and investigate with the platform's context and tools. Give the agent a bounded task, a clear success condition, and the environment it should work in.
Choose an entry point#
Use Kick Start when beginning a project, Home → AI Agents for configured agents and their conversations, or Ask AI from the current work area when the open workflow provides useful context.
Describe the outcome before the implementation. For example:
text
Create a sandbox GET action that lists open tasks from the test database.
Return id, title, and status, ordered by newest first, with a limit of 20.
Use the existing controller and keep the current production release unchanged.
Show the draft and the test result for review.
Supply the right context#
Identify the controller/action, affected app, relevant database, expected input/output, and a failing request or log when available. Explain whether the task is investigation, draft editing, or a requested release.
For a configured agent, review its instructions and available tools. Permissions and the connected workspace determine what it can access; a conversation is not a substitute for platform authorization.
Review the result#
Inspect the changed workflow graph, scripts, selectors, resource bindings, and branch connections. Confirm the agent preserved unrelated behavior. Test the actual public route or app interaction, including failure and denied-access cases.
A generated explanation or a successful internal sample does not establish that a production integration works. Keep the release review separate from the editing task.
Scheduled work#
When using scheduled agent tasks, define the trigger, allowed action, expected output, and notification behavior. Review the schedule state and resulting run history. For deterministic recurring processing, a normal workflow schedule may be the clearer fit.
Use MCP connections to work from an external AI client, and Maintenance for incident-focused investigation.
AI & collaborationConnect an external AI client with MCP
Cloudgate's MCP connection exposes supported platform tools to an external AI client. Use the Hub's current connection instructions so the client targets the correct server and account.
Set up the connection#
Open the external AI/MCP setup from Kick Start → Apps & Tools or the available connection guidance in the Hub. Use the endpoint and authentication flow shown for your client.
The workflow MCP service uses /mcp/workflow with the supported OAuth or bearer-authentication flow. Use your deployment's actual base URL; the Hub's web address and API host may differ.
Complete sign-in in the supported flow, then verify the workspace and available tools with a read-only request such as listing controllers. Do not paste a token into a conversation as a configuration step.
| Hub label |
Common MCP name |
| Controller |
Project |
| Action / workflow API |
Endpoint |
| Action Logs |
Per-request execution records |
| Key Selectors |
Selectors / keys |
Ask the client to inspect the execution model and node catalog before designing a graph. Existing cookbook recipes and templates can provide a better starting point than inventing node configuration.
Make edits reviewable#
Have the client inspect the current workflow and open its draft before changing it. Keep a complete export when using graph replacement operations; a slim summary may omit scripts, SQL, and request bodies.
Review the proposed changes, validate the graph, and test the sandbox route. Tool availability differs between connections, so confirm that the client actually has the required editing and recovery capabilities.
Troubleshoot access#
If a tool is unavailable or forbidden, check the account, connection scope, and platform permission. Reconnect through the supported flow when a session expires. Avoid changing a workflow's API security to solve a tool-connection problem; those are separate access boundaries.
AI & collaborationKeep work in context with team chats
Use team and group chats to coordinate work around Cloudgate projects. Keep the conversation tied to the relevant action, request, release, or support ticket so another teammate can follow it.
Start a useful conversation#
Choose the intended teammate or group and confirm its participants. Lead with the affected system and the decision or help you need.
For an investigation, include the environment, approximate request time with timezone, action name, expected behavior, and observed result. Link to the relevant log or ticket instead of pasting a large, sensitive payload.
Separate collaboration from execution#
A team conversation, an agent conversation, and a workflow run serve different purposes. Discussing a proposed fix does not apply it. An agent's completed job does not by itself prove a release was published or an incident resolved.
Record the final decision where the operational history belongs: a release description, support-ticket finding, or maintained documentation page.
Share evidence clearly#
- Link the specific request or node that failed.
- Explain whether a screenshot shows sandbox, preview, or production.
- Distinguish reproduced facts from a suspected cause.
- Include the outcome of the latest verification.
Avoid sharing credentials, raw authentication headers, or another user's private data. Redacted logs can still include ordinary personal information, so choose the minimum evidence needed by the recipients.
Close the loop#
After the change is reviewed, share the release or ticket reference and the verification result. If more work remains, state who owns it and what evidence will establish completion.
For structured investigation and review, use support tickets. For tool-assisted work, use AI agents.
Test & operateTest workflows and public APIs
Use node tests to inspect one operation, full workflow tests to verify the graph, and external requests to verify the public route and access rules. Each test answers a different question.
Build a small test set#
For every action, keep examples for:
- A valid request with a known result.
- Missing and malformed required input.
- Empty or missing records.
- A caller without the required authentication or permission.
- A failing or unavailable dependency.
Use dedicated sandbox data and test service accounts. Confirm bindings before running any operation that sends messages, changes identity, or writes to an external system.
Test an individual node#
Use the node's test controls to check its input and result. Supply representative data for required selectors. A node test does not prove that preceding nodes run or that the public gateway accepts the client.
A Database node whose entire SQL comes from a previous Function needs that Function to execute in the same run. Use a full workflow test for this mode.
Test the whole workflow#
Run a sample through the action's test panel and inspect the node sequence, outputs, and final response. Test every Condition branch and Decision outcome.
Some internal sample tools bypass IdP authentication for development and identify that mode. To test real identity behavior, use a valid bearer token with bypass disabled where supported, then verify the public route separately.
Test externally#
Use the copied sandbox URL or a generated Postman request. Match the method, path, headers, query, body, and authentication exactly. For browser apps, test from the actual origin so CORS is included.
Keep regression coverage#
Use Workflows → Test Automation for repeatable cases supported by your workspace. Assert meaningful outputs and failure behavior. Run the relevant cases when changing a shared selector, schema, authentication gate, or release dependency.
Record the environment and version used for verification. A successful build, valid JSON, or 200 response alone does not prove the correct business records were returned.
Test & operateDebug a workflow run
Start from a specific failing request and follow its recorded execution path. This is more reliable than editing several nodes based on the final error alone.
Locate the run#
Open Workflows → API Action Logs, choose the environment and a narrow time range, and find the request by action, status, or available identifiers. Open its workflow/session detail.
Record the method, route, input shape, version, status, and first failed node. A later node may be absent because execution stopped earlier; that is different from a broken connection.
Inspect the first divergence#
Compare the expected path with the recorded nodes. Check:
- Did authentication succeed before business logic?
- Was the required selector available on this branch?
- Did the Function receive the expected JSON shape?
- Did the HTTP Request call the correct upstream and environment?
- Did the Database node use the intended binding?
- Did a Condition return false legitimately?
A false condition is not automatically an error. Inspect the input and intended rule before changing it.
Reproduce safely#
Create a sandbox request with fixture data and fresh credentials. Stored logs may have erased sensitive values, so replaying a captured request can require replacement credentials.
Use the editor's available debug and step controls to inspect intermediate state. Displayed debug values can be redacted while execution still has the private values it needs.
Use session diagnosis#
Where available, Diagnose session creates a read-only analysis of recorded execution evidence. It can help identify likely failure points but cannot recover data that was never logged or prove an upstream operation succeeded. Review the evidence and limitations in the report.
Verify one fix at a time#
Change the smallest relevant part of the draft, rerun the failing case, and test the neighboring success/denial paths. If the edit introduces a regression, recover a known version before making further speculative changes.
See logs and retention and Maintenance.
Test & operateRead logs and execution history
Cloudgate records gateway requests, outbound HTTP calls, and workflow execution details. Choose the log that matches the question, then narrow the environment and time range.
Choose a view#
| View |
What it explains |
| API Action Logs |
Incoming gateway request, action, status, and overall execution |
| HTTP Requests |
Calls the workflow made to external services |
| Workflow/session detail |
Node sequence, durations, results, and errors |
| Schedule history/state |
Background job timing and execution context |
| Warning System |
Operational signals that need attention |
An action is an API definition. An Action Log is one call to that definition.
Filter before comparing#
Set the environment and reporting period first. Use the action/controller, response status, and available search fields to reduce noise. Include the timezone when sharing a timestamp with another operator.
Correlate an outbound failure with its parent session. A failed provider call and the overall failed action can be two records for the same business operation, so avoid treating all rows as independent incidents.
Understand redaction#
New logs redact recognized credentials and secret-selector values before persistence. Those values cannot be recovered through an export or an unmask operation. The workflow itself still receives its actual execution values.
This is not general personal-data classification. Ordinary names, emails, or custom opaque fields may still be present. Inspect evidence before sharing it outside its normal audience.
Retention and export#
Availability depends on logging configuration, retention, and archived evidence. Session keys are temporary execution history, not durable application storage. Older logs may have different detail and redaction behavior from new runs.
Use the available export controls for a targeted set of records. Include the associated version and environment in an investigation. Missing or expired evidence cannot be recreated simply by opening the latest graph.
For a live failure, follow debugging; for a longer investigation, attach selected ticket evidence.
Test & operateMonitor health, traffic, and usage
Use metrics to find patterns and logs to explain individual requests. Always check the environment, time period, and measurement before comparing a chart with a user report.
Find the right view#
| View |
Use it to inspect |
| Workflows → API Metrics |
API volume, outcomes, and performance trends |
| Home → Health |
Current service checks and operational status |
| Home → System Map |
Relationships among workflows, schedules, and resources |
| Home → Reports |
Generated account/activity reports |
| Home → Worksheets |
Database-backed tabular work |
| Web Apps → Dashboard / Analysis |
App traffic, returning visitors, release and workflow context |
| Support → Warning System |
Warnings requiring investigation |
Compare like with like#
Choose the same time range and environment when comparing charts. Check whether a value counts requests, sessions, users, pages, or failures. A single page load can make several API calls.
Look for a change relative to normal behavior: increased latency, a rising error proportion, a new traffic pattern, or a schedule that stopped producing runs. A lower request count can indicate either reduced demand or a broken client.
Investigate a signal#
- Identify the affected interval and action or app.
- Check recent releases and configuration changes.
- Open matching action logs and inspect representative failures.
- Compare a successful run using the same path.
- Record the likely cause and the verification needed for a fix.
Treat an unavailable data source differently from a genuine zero. Avoid drawing conclusions from a dashboard that has failed to load or has no retained evidence for the selected period.
Review reports and warnings#
Confirm a generated report's period, status, and data scope before sharing it. For a warning, inspect the underlying evidence and determine whether action is needed; acknowledging a signal is not the same as fixing its cause.
Use Maintenance for recurring failures and downloads for available mobile monitoring tools.
Test & operateInvestigate incidents with Maintenance
Maintenance groups retained workflow failures into incidents and supports investigation and reviewed draft fixes. An incident is a starting point for diagnosis, not proof that every grouped failure has one cause.
Collect failures#
Open Workflows → Maintenance and choose the environment. Automatic collection depends on the tenant's enabled settings and configured lookback. Run now lets authorized users select a date/time range of retained failures.
The UI uses the displayed local timezone and submits UTC instants. Check the range carefully when comparing it with logs. A scan can collect a bounded batch; repeat the same range when the UI indicates more retained failures remain.
Turning off collection stops future collection activity; it does not erase existing incidents or automatically cancel explicitly started investigations.
Investigate the evidence#
Open an incident and inspect the affected action, node, environment, status, and occurrences. Classification is a preliminary assessment. Review the recorded evidence and the agent's explanation before accepting a proposed cause.
Investigation requires the appropriate logging and agent permissions. The investigation path is read-only and does not publish changes or replay business requests.
Apply a reviewed proposal#
Where a fix is proposed, review its intended changes before using the approval/application action. Application is constrained to the affected workflow draft. Inspect the resulting draft and run the relevant tests.
A status such as Monitoring means the application job completed. It does not establish that production was released or that the incident is resolved. Use the normal workflow release process, verify the live behavior, then explicitly resolve the incident.
Diagnose one session#
The workflow session's Diagnose session action analyzes saved evidence without changing the workflow. It can be useful even when automatic Maintenance collection is disabled. It cannot recover missing payloads, erased secrets, or details absent from an older snapshot.
Keep the final finding, release reference, and verification outcome with the incident or linked support ticket.
Test & operateTroubleshoot common problems
Start with the exact failing request, environment, and time. Identify the layer that rejected or failed the request before changing workflow behavior.
Route and access problems#
| Symptom |
Check first |
| 404 / endpoint not found |
Controller path, action route, HTTP method, environment, production release availability |
| 401 |
Gateway credentials and IdP bearer token requirements; internal test bypass versus public request |
| 403 |
Key scope, role/permission gate, CORS, country/IP rules |
| Signature rejected |
Millisecond timestamp, clock drift, exact method/path/query/body bytes |
| Browser fails but server client works |
Browser Origin, preflight, tenant API hostname, credentials mode |
| Limit-related rejection |
Key request limits, account limits, selected environment |
See API access, signing, and CORS for focused checks.
Workflow problems#
A node never runs: inspect the entry node and execution connections. Check whether an earlier node failed or a branch selected another path.
A selector is empty or wrong: check its spelling, controller/global scope, environment, and the point where it is produced. A result on another branch may not exist in this run.
Python cannot read an upstream result: reference its selector directly, such as customer = ${FetchCustomer}. A bare name like FetchCustomer is not a Python global. Check that the producing node ran and that its result has the expected shape.
SQL fails: confirm the database binding, SQL dialect, schema, parameter names, and input types. Test a read-only query before retrying a mutation.
A schedule does not run: inspect its state, timing/timezone, environment, target action, and resulting logs. A Schedule node configures a later job rather than calling the target inline.
App problems#
An empty widget with a successful request often has the wrong data path or response shape. A direct page URL failing after refresh points to routing or publication configuration. A newly published app calling an older API contract needs release/dependency review.
When to open a ticket#
Include expected and actual behavior, reproduction steps, environment, time with timezone, action/app, relevant version, and a specific log reference. State what you have already checked. Follow evidence guidance before attaching payloads.
Practical guidesConnect an external API
Build a workflow that validates input, calls a service, and returns a stable response. Start with a read-only operation so you can verify routing and data contracts without changing upstream records.
Prepare the integration#
Obtain the upstream service's actual request contract: hostname, method, path, authentication, required parameters, and an example response. Choose a sandbox or test account when the provider offers one.
Create stored selectors for the environment-specific base URL and credential. For example, use SERVICE_BASE_URL and an appropriately protected SERVICE_TOKEN.
Build the path#
text
Authorize caller → Validate input → FetchCustomer → CustomerResponse
- Create an action with a route such as
customers/${customerId} and the GET method.
- Add the required gateway and user authorization.
- Validate the captured customer ID before using it in a URL.
- Add an HTTP Request node named
FetchCustomer with the provider's method, URL, and headers.
- Add a Function named
CustomerResponse and read ${FetchCustomer} directly in its script.
If the provider's response is the object {"id":"123","name":"Avery"}, the Function can shape it as:
python
import json
customer = ${FetchCustomer}
return json.dumps({
"id": customer["id"],
"name": customer.get("name", "")
})
Adapt this to the response you actually observed. Do not assume a wrapper or field type from a different provider endpoint.
Test the contract#
Run a known customer lookup, an unknown ID, malformed input, invalid upstream credentials, and denied caller access. Inspect the outbound request log and final response.
A provider failure may stop the Request node before your response Function runs. Confirm the observed error behavior and expose a consistent client contract using the workflow's supported configuration.
Release the integration#
Review production selectors, provider limits, timeout/retry settings, and any user-scoped access. Test the public sandbox URL from the intended client, then use release review.
For write operations, add a stable operation identifier and the provider's supported duplicate-prevention behavior before enabling retries.
Practical guidesBuild a database-backed API
Create a read-only task-list API using a sandbox SQLite database. The example keeps schema setup separate from request execution and returns a bounded collection.
1. Prepare test data#
Create a dedicated sandbox database under Workflows → Databases. Run this setup once in that database:
sql
CREATE TABLE Tasks (
id INTEGER PRIMARY KEY,
title TEXT NOT NULL,
status TEXT NOT NULL
);
INSERT INTO Tasks (title, status)
VALUES ('Review the first workflow', 'open');
This is SQLite SQL. Adapt it for another engine rather than assuming the same identity-column and limit syntax applies.
2. Create the action#
Create a controller with path tasks and a GET action with route list. Configure the access required by your app. If the records are private, place authorization before the Database node.
Add a Database node named ListTasks and bind it to the test database. Use:
sql
-- cloudgate:parameters
SELECT id, title, status
FROM Tasks
WHERE status = @status
ORDER BY id DESC
LIMIT 20;
Set its input JSON to:
This initial fixed filter makes it easy to verify the query. To accept a client filter later, validate the value and pass it as a parameter.
3. Confirm the response shape#
Add a final Function named TaskResponse and read ${ListTasks} directly. Normalize the empty-SELECT result into an array:
python
import json
rows = ${ListTasks}
if rows == "No records found":
rows = []
if not isinstance(rows, list):
raise ValueError("Expected a task list")
return json.dumps({"items": rows})
The selector resolves a JSON row array as a Python list. An empty SELECT can return the text No records found; this Function normalizes that result to an empty list. Select JSON as the action response format, then run the complete workflow and confirm the final response contains an items array. Test both the seeded row and an empty result. A table consuming this response uses items as its data input path; if your client adds another response wrapper, include that wrapper in its binding.
4. Prepare production#
Create the production schema through a deliberate migration, select the correct production binding, and keep fixture records out of the live database. Review ownership filters and paging before allowing larger datasets.
Use SQL parameters for dynamic values, backups before destructive schema changes, and go-live checks before release.
Practical guidesBuild a scheduled worker
Create a workflow that can process a small, repeatable unit of work, then attach a schedule. Keep the worker independent of a browser session and safe to run more than once.
Define the job contract#
Choose the target operation, environment, frequency, and input. For a read-only sync preview, an input might be:
json
{
"batchSize": 20,
"mode": "preview"
}
These fields belong to your worker's contract; the platform does not automatically implement preview behavior. Your workflow must validate and honor them.
Build and test the worker#
Create the action and read the input directly in Python with job = ${body}. Validate the batch size, fetch a bounded set of records, and return a useful summary of what was processed.
For writes, use stable record identifiers and track completion so a retry does not duplicate the effect. Store durable progress in a database, not in the session keys from an earlier run.
Test the worker manually with fixture inputs before enabling recurring execution. Inspect its action and outbound request logs.
Create the schedule#
Open Workflows → Schedules, choose the target action and environment, and configure the body, timing, and state. Daily, weekly, and monthly schedules use a UTC start time; verify the intended local-time equivalent.
The target workflow does not need a Schedule node for this static job. Use a Schedule node only when another workflow must create a job using runtime data.
Observe the first runs#
Confirm that the schedule is active, a run was queued, and the expected action executed. Check duration, processed counts, and any provider limits. Look for overlap if a run can take longer than its interval.
Change or pause the job#
Review the schedule state before modifying timing or inputs. Disable future runs while making a change that cannot safely overlap with current work, and inspect whether a run is already in progress. Verify the new configuration with a controlled execution before restoring the recurring schedule.
Practical guidesTake an API or app live
Treat launch as a review of behavior, configuration, and recovery. A successful sandbox request is the starting point; the production client and resources still need verification.
Confirm the API contract#
Review the public hostname, controller path, action route, method, required inputs, response shape, and failure behavior. Keep existing clients compatible or plan the transition to a changed contract.
Test success, invalid input, empty results, denied access, and a failed dependency. For an app, test the actual page interaction as well as its underlying request.
- Set production selector values and database bindings.
- Confirm gateway credentials, action scope, and request limits.
- Verify IdP authorization and record ownership checks for private data.
- Configure the app's exact browser origins under CORS Origin.
- Review country/IP controls independently.
- Review schedules, notification recipients, and external service modes.
Do not assume a sandbox prefix isolates every downstream resource. Identity, email, and external services can be shared.
Review the release#
Use Workflows → Releases for workflow candidates and Web Apps → Releases for app candidates. Inspect differences, source information, and dependencies. Record the purpose of the release and the tests that support it.
For a database change, confirm the backup and compatibility plan. Know which prior workflow/app release you can restore and what data recovery would still be needed.
Verify the live path#
After publication, make a controlled request through the real production client. Confirm the returned records or result, inspect the corresponding log, and check the app's displayed state.
For external writes, verify the provider's recorded operation rather than treating a gateway acknowledgement as final completion.
Monitor and hand over#
Watch errors, latency, usage, and scheduled work over the relevant interval. Record the released version, owner, known limitations, and escalation path. If something regresses, use the evidence to decide whether to fix forward or restore a known release.
Import & developer toolsReuse templates and import workflows
Templates and exports help you start from an existing design. Review their resource references and behavior before running them in a different workspace or environment.
Use Home → Pre-Built Workflows for workflow templates and App Store / App Templates for applications. Workflows → Import API supports the available API import flows.
Inspect what the template creates: controllers, actions, nodes, selectors, databases, schedules, and app dependencies. A template's name is not a guarantee that every destination resource is configured.
- Review the source and intended destination controller.
- Preserve any existing workflow you intend to replace.
- Import into a draft or isolated learning area where possible.
- Check route/method collisions and entry/branch connections.
- Rebind databases, WebSockets, and other resource IDs.
- Configure sandbox and production selector values.
Secret values are omitted from template exports. Set them through the destination workspace's protected selector controls rather than expecting an import to recreate them.
Run representative sandbox requests and inspect actual upstream hosts and selected databases. Confirm external writes, messages, or schedules will target fixtures before executing them.
If using an import agent, inspect the resulting graph and configuration just as you would a manual import. A successful import means the artifact was accepted, not that every business path has been verified.
Use the supported controller/action export controls. Keep a complete export when preserving scripts, SQL, request bodies, and connections for recovery; a summary or slim tool response may omit essential fields.
Document the template's prerequisites, input/output contract, required selectors, and expected resource bindings. Store recovery artifacts where your team can find them without publishing private values.
See Postman for client collections and releases for version recovery.
Import & developer toolsWork with Postman collections
Postman collections help test public API requests and share an integration's client contract. Importing requests and generating a collection are different workflows.
Generate requests for a client#
Open Workflows → Postman Collection and choose the available controller/action scope. Review the generated environment, URLs, authentication setup, headers, and request bodies before running the collection.
Set the collection's environment values to your sandbox host and credentials. For signed requests, preserve the generated signing behavior and verify the exact path/query/body used by the request.
Run a harmless read first, then inspect the matching action log. Keep write requests disabled until their target data and external effects are understood.
Import an existing collection#
Use the supported Postman import flow when bringing existing API request definitions into Cloudgate. Inspect the source collection's base URLs, variables, methods, headers, bodies, and scripts.
After import, check the generated controller paths, action routes, and Request nodes. Resolve variables into deliberate selectors and resource configuration. Collection scripts and provider-specific behaviors may require manual adaptation; confirm the resulting workflow rather than assuming every Postman feature became executable logic.
Maintain useful examples#
Keep examples for success, validation failure, denied access, and an empty response. Describe required fields and the expected status/result.
Saved samples are not a schema. A response from a detail endpoint does not define the body accepted by a create or update endpoint. Verify the actual contract before using the example to build a form.
Share safely#
Use environment placeholders and remove current tokens, cookies, and private records before sharing a collection. Document how recipients obtain their own authorized credentials.
For signing details, see HMAC request signing. For broader validation, see testing workflows.
Import & developer toolsPublish documentation for your own API
Cloudgate's Document Builder lets you describe the APIs and workflows you provide to your users. Organize it around their tasks and keep examples aligned with the released API contract.
Open Workflows → Document Builder. Start with a short overview, access requirements, a working first request, and a reference for each public operation.
Group related operations into chapters and use descriptive page titles. Keep setup instructions separate from detailed field reference so a new reader can reach a successful request quickly.
Write an operation page#
Include:
- What the operation does and who may call it.
- Environment, method, and route.
- Required headers, route/query values, and body fields.
- A minimal request and its actual response shape.
- Validation, denied-access, and missing-record behavior.
- Side effects, retry considerations, and relevant limits.
Use the builder's available text, code, callout, image, and request/example controls for a clear written explanation. Explain the steps in text so the reader can follow them without a recording.
Use placeholders for credentials and synthetic records. If you add an interactive request widget, identify its environment and whether it can change data. Prefer harmless read examples for an unaffiliated reader's first request.
A saved example should be verified against the intended release. Keep create/update request fields distinct from list/detail response fields.
Configure the documentation name, branding, and top navigation links. Preview chapter navigation, code formatting, long tables, and narrow-screen layout. Check that every link leads to a real page and that copied requests work with the documented setup.
Maintain the contract#
Update the relevant page when changing a public route, field, authentication requirement, or error response. Record compatibility notes for existing clients, and give readers a clear support path.
See Postman collections for shareable requests and release review for coordinating documentation with publication.
Import & developer toolsForward existing APIs with Auto Proxy
Auto Proxy can forward gateway traffic to an upstream API when no matching Cloudgate action exists. It can provision a forwarding workflow from the first unmatched request.
Open Workflows → Auto Proxy. Review the enabled state and separate sandbox and production base URLs. Use absolute HTTP or HTTPS URLs for the intended service.
At least one valid upstream URL is required when enabling the feature. If you configure only one environment, do not assume the other environment automatically uses it.
The forwarding configuration uses the global PROXY_BASE_URL selector. Provisioned Request nodes combine that environment's base with the incoming controller and route segments.
An existing matching action is resolved normally. For an unmatched route, enabled Auto Proxy can create the controller/action and a Request node that forwards the call upstream.
This is useful when introducing Cloudgate in front of an existing API. It also means unfamiliar incoming routes can become forwarding workflows, so review the upstream scope and intended gateway exposure before enabling it.
- Select a harmless upstream GET operation.
- Call the corresponding sandbox gateway path.
- Inspect the created or selected forwarding action.
- Check the outbound URL, method, headers, input, and response.
- Verify gateway and user authorization requirements for the exposed operation.
Do not assume that forwarding an endpoint automatically supplies every upstream credential or reproduces a custom client script. Inspect the actual request contract.
Once a forwarding action exists, you can review its draft and add validation, authorization, transformation, or observability as appropriate. Preserve the existing client contract while making the change.
Use HTTP Request nodes for explicit integrations and release review before changing live behavior.
Import & developer toolsDesktop, mobile, and developer tools
Use the Hub's Apps & Tools catalog to install the current Cloudgate clients and integrations. Choose the tool for the work you need to do, then sign in to the intended account and workspace.
Open Home → Kick Start → Apps & Tools. The catalog provides the available desktop store links, mobile monitoring tools, IDE extension, SDK information, and external AI connection guidance.
Use those links for current platform availability and package versions. The catalog is the source for installation targets; copied installer URLs and version numbers in older guides can become stale.
The Windows and macOS apps provide a native entry to the Cloudgate Hub. Install from the catalog's store link, sign in, and confirm the selected workspace.
Desktop-specific update controls appear under Settings → Updates where supported. Save work before updating and verify the app version when reporting a client-specific issue.
Use the available Metrics/Monitor mobile app to review dashboards, warnings, and supported app/user/support views while away from your desktop. Permissions still govern the data and actions you can access.
Confirm environment and reporting period on a small screen before interpreting a metric. Notification availability also depends on the device's permissions and the app's configured settings.
The VS Code/Cursor extension connects supported development workflows to Cloudgate. Follow the catalog's installation and sign-in guidance, including any VSIX installation steps for the current package.
For application code, choose the client or React SDK appropriate to the project. For an external AI client, follow MCP setup.
Include the operating system, app/extension version, install source, error text, and whether browser sign-in succeeds. Avoid attaching tokens or complete environment files to a support request.
Account & settingsYour account and profile
Use Settings to maintain your profile, linked sign-in accounts, and account preferences. Check the active workspace before changing team or subscription settings.
Get started#
Use the Cloudgate sign-up or sign-in flow and complete the verification or onboarding steps shown for your account. Once in the Hub, open Kick Start to choose a first API, app, or template.
The tools you see depend on your role and enabled account features. If you were invited to an existing workspace, confirm that you have joined the intended one before creating resources.
Update your profile#
Open Settings → Profile to review your name and available contact/account details. Keep information used for account recovery current. Use the security controls provided by the account to manage password and two-factor options.
Linked accounts#
Open Settings → Linked Accounts to inspect connected sign-in or developer identities. Review which services a link supports before removing it, especially if it is used to enter a developer workspace or identify source-control commits.
Verify an alternative sign-in method before changing the only one you use. Follow the provider's authorization flow rather than sharing credentials in a chat or ticket.
Notifications#
Use the account's available notification preferences to choose the updates you need. Account notifications, app-user notifications, and mobile device permissions are separate settings; check the relevant layer when an alert is missing.
Team access#
Administrators use Settings → Users and Settings → Roles for workspace members. Application end users are managed under Web Apps → App Users.
See team permissions, billing, and the Hub map.
Account & settingsSubscriptions, billing, and wallets
Use the account's subscription and billing screens to review the current plan, paid access period, renewal state, and payment history. The live account screen is the authority for prices and available options.
Review your subscription#
Open Settings → Subscriptions for plan selection and Settings → Billing for the current agreement and its supported renewal controls.
Check the plan, billing period, provider, paid-through date, and renewal status separately. A payment-history row and an active recurring agreement are related but different records.
Complete checkout#
Follow the provider's hosted approval/payment flow and return to Cloudgate. The application waits for verified payment completion; approving an agreement alone is not the same as a confirmed payment or activated plan.
If the browser closes during checkout, inspect the current billing state before starting another purchase. Include the provider reference and time when requesting help, without sending payment credentials.
Change renewal behavior#
Use the stop/resume controls available for the active provider agreement. Review the confirmation and paid-access date before applying the change. An ended agreement may require a new subscription rather than resuming the old one.
Plan changes can involve provider approval and a later verified payment. Check the effective state shown by Billing instead of assuming that selecting a new plan immediately changes access.
Distinguish wallets#
The account's Wallet and Web Apps → App User Wallet serve different owners. Wallet availability and connection flows depend on country, provider, environment, and enabled features.
Review the selected owner and environment before connecting a wallet or initiating an operation. Use the transaction/invoice reference to investigate pending results rather than repeatedly submitting an uncertain operation.
Get help#
For a billing discrepancy, provide the workspace, plan, approximate time, invoice or provider reference, and expected versus displayed state. Use support tickets to keep the evidence and resolution together.
Account & settingsGateway settings and files
Gateway Options and File Manager hold workspace-level configuration and resources. Review their scope before changing settings used by several workflows or apps.
Gateway Options#
Open Settings → Gateway Options to inspect the controls available to your account. Record the current values and identify which clients, environments, and services depend on a setting before changing it.
For public API behavior, keep a representative request available so you can verify the effect after saving. Check both the gateway response and the matching execution log.
Dedicated access controls remain in their own screens: API Key Access, Origin Validator, and CORS Origin under Workflows. Use those pages for their specific policies rather than searching for a single universal access switch.
File Manager#
Open Settings → File Manager to manage files exposed through the account's supported storage tools. Name files clearly and organize them so the app or workflow that owns them is identifiable.
Before uploading or replacing a file, check its intended audience, size/type requirements, and how the consuming app references it. A file path or identifier can be part of a released app's contract.
Replace or remove a resource#
Search for references in the relevant app, page, workflow, or documentation before removing a file. Preview the replacement and verify its URL from the intended user's context.
Deleting a file can break existing links even if the latest editor no longer uses it. Keep a recovery copy or use versioned naming when clients need time to move to a replacement.
Know the storage boundary#
Application uploads, workflow databases, support-ticket attachments, and platform-managed files can have different permission and lifecycle rules. Use the supported feature for each resource rather than treating every stored file as interchangeable.
For operational recovery, see database backups. For ticket material, see support evidence.
SupportCreate and manage a support ticket
A good support ticket gives an investigator a reproducible problem and a clear definition of success. Keep the request, evidence, correspondence, and resolution together as the investigation develops.
Open the ticket#
Use Support → All Tickets or Ticket Tracker to create and find tickets. Select the relevant customer/category where applicable, assign an owner, and describe the impact.
Include:
- The affected app, controller, or action and environment.
- Expected behavior and the observed result.
- Steps to reproduce with safe example data.
- The approximate time and timezone.
- The relevant release or version if known.
- A log/session reference and checks already performed.
Use a specific title, such as “Sandbox order lookup returns 404 for GET route,” rather than “API broken.”
Track ownership and progress#
Use the ticket's status controls and the Ticket Tracker board to show its current stage. Keep assignment aligned with who is doing the next action. Moving a card is a status change; it does not itself establish that the underlying issue is fixed.
Record questions and findings as the investigation proceeds. Separate reproduced facts from hypotheses so another reviewer can follow the reasoning.
Correspond with the customer#
Use the ticket's correspondence feature for supported email communication. Preserve the ticket reference in reply subjects so responses can be associated with the correct ticket.
Check delivery status when available. A message accepted for sending is not always a delivered message; bounced, dropped, or deferred messages need their own follow-up.
Prepare a resolution#
Attach only the evidence needed to support the finding, summarize the change or explanation, and identify the verification performed. Ask the reviewer to assess that result against the original expected behavior.
Continue with evidence collection and reviewing and closing tickets.
SupportGather useful ticket evidence
Evidence should let another person understand what happened without repeating a risky operation or receiving unnecessary private data. Choose specific records and explain why each one matters.
Choose the right evidence#
| Evidence |
Useful for |
| API Action Log |
Incoming request, route, environment, and overall outcome |
| HTTP Request log |
Upstream service request and response failure |
| Workflow run / node history |
Execution order, branch selection, node result or error |
| Scheduler activity |
Trigger timing, state, and background execution |
| Database snapshot or query result |
The relevant record state at a known time |
| Selector information |
Configuration scope and environment, with secrets masked |
| Warning |
A related operational signal |
| Attachment |
Reproduction material, screenshot, or safe supporting file |
Add context to each item#
Record the time with timezone, environment, action/app, and version. Explain the observation: “The request reached FetchOrder and the provider returned 404” is more useful than attaching an unexplained log dump.
Link evidence to the step it supports. A screenshot of an empty table does not establish whether the API returned no rows or the widget used the wrong data path; include the relevant request result as well.
Preserve a useful boundary#
New logs redact recognized credentials and secret-selector values, but ordinary personal information may remain. Review the material before sharing it. Use synthetic records for reproduction and omit tokens, cookies, passwords, and complete environment files.
Historical logs can have different redaction behavior. An erased credential cannot be recovered from a new log export, and a retained snapshot may lack details that were never recorded.
Use evidence comments or reactions to keep the discussion attached to the record it concerns. Summarize conclusions in the ticket rather than leaving the only explanation in a long comment chain.
Avoid collecting a live database snapshot or rerunning a write merely to make the ticket look complete. State the missing evidence and use a controlled reproduction when needed.
SupportReview and resolve a ticket
Review establishes whether the reported problem is understood and the proposed resolution is supported by evidence. Close the ticket only when its outcome and any remaining work are clear.
Review the finding#
Read the original expected and actual behavior, then compare it with the investigation summary. Check whether the evidence supports the claimed cause and whether other plausible explanations were ruled out.
Look for a specific change, explanation, or operational action. “It works now” is incomplete without the environment, tested version, request, and observed result.
Verify the resolution#
- Reproduce the original scenario using safe data.
- Confirm the expected output or user interaction.
- Check a nearby failure or denied-access case.
- Inspect the relevant logs and release information.
- Record the result and any limitation.
If a workflow or app was changed, confirm that the intended release was actually published. A draft fix, agent completion, or Maintenance status does not prove production behavior changed.
Close with a useful record#
Summarize the cause, resolution, verification, and affected versions. Note any data reconciliation, monitoring, or follow-up task that remains, including its owner.
Use the ticket's supported resolution and closure controls. Communicate the result through the appropriate ticket correspondence and check delivery where available.
Reuse what you learned#
When a finding applies to future incidents, add a clear entry to Ticket Wiki or update the relevant maintained documentation. Remove customer-specific details from reusable guidance.
Track support trends#
Use Support → Ticket Stats and the tracker to inspect backlog and closing trends. Compare the same reporting period and status definitions. A high closure count alone does not explain resolution quality; review recurring failures and reopened issues as well.
If the issue recurs, preserve the new evidence and connect it to the earlier finding rather than assuming the cause is identical.