Connect Secure icon

Connect Secure

Consume Connect Secure API

Actions222

Overview

This node operation updates a Compliance Assessment record via an API. It is useful in scenarios where you need to modify existing compliance assessment data programmatically, such as updating the status of assessments or changing related metadata. For example, a user might update the compliance results after a new audit or change the template status to reflect the current state.

Properties

Name Meaning
X USER ID The User Id header value used for authentication or identification in the API request.
Data JSON object containing the updated compliance assessment details and template status.
Id Numeric identifier of the compliance assessment record to be updated.
  • X USER ID is sent as a request header.
  • Data is sent as the request body and must be valid JSON.
  • Id is also included in the request body to specify which record to update.

Output

The node outputs the response from the API call in the json field of the output data. This typically contains the updated compliance assessment information returned by the server. There is no indication that binary data is handled or returned by this node.

Dependencies

  • Requires an API key credential for authenticating with the Connect Secure API.
  • Depends on the external Connect Secure API service to perform the update operation.
  • The node expects the API endpoint and schema defined in the bundled OpenAPI specification (openapi.json).

Troubleshooting

  • Invalid or missing X USER ID: The API may reject requests without a valid user ID header. Ensure this property is set correctly.
  • Malformed JSON in Data: If the JSON provided in the Data property is invalid, the API will likely return an error. Validate JSON format before execution.
  • Incorrect Id value: Providing an incorrect or non-existent Id may cause the API to fail to find the record to update.
  • Authentication errors: Make sure the API key credential is configured properly in n8n.
  • Network or API downtime: Check connectivity and API availability if requests time out or fail unexpectedly.

Links and References

Discussion