CIS Assessment icon

CIS Assessment

Interact with CIS Assessment API

Overview

This node, named "CIS Assessment," interacts with a CIS Assessment API to perform various operations related to campaigns (referred to as "Campanha" in Portuguese). Specifically, the "Enviar Passaporte" operation under the "Campanha" resource allows users to send a passport report or document associated with a campaign to a specified person via email. This is useful for automating the distribution of campaign-related reports or documents in different languages.

Practical examples include:

  • Sending personalized campaign passports or reports to participants or clients.
  • Automating multilingual report delivery based on user preferences.
  • Integrating campaign data distribution into larger workflows for marketing or compliance purposes.

Properties

Name Meaning
Campanha Name or ID Select a campaign from a list or specify its ID using an expression.
Idiôma Do Relatório Choose the language of the report: Português (Brasil), Inglês (EUA), or Espanhol.
Nome Da Pessoa Enter the name of the person who will receive the passport/report.
E-Mail Da Pessoa Enter the email address of the recipient.

Output

The node outputs a JSON array containing the result of the executed operation. The exact structure depends on the API response from sending the passport but generally includes confirmation details such as status, message, or identifiers related to the sent passport.

No binary data output is indicated in the source code or properties.

Dependencies

  • Requires an API key credential for authenticating with the CIS Assessment API.
  • The node uses internal methods to load options dynamically for campaigns and report types.
  • No additional external dependencies are explicitly mentioned.

Troubleshooting

  • Unsupported Operation Error: If the selected operation is not supported for the chosen resource, the node throws an error stating the operation is unsupported. Ensure that the "resource" and "operation" parameters are correctly set.
  • Missing Required Fields: The node requires certain fields like campaign ID, person name, and email. Missing these will likely cause errors or failed API calls.
  • Invalid Email Format: Providing an invalid email may cause the API to reject the request.
  • API Authentication Issues: Incorrect or missing API credentials will prevent successful communication with the CIS Assessment API.

To resolve these issues:

  • Verify that the resource and operation names match supported values.
  • Provide all required input properties with valid data.
  • Check and configure the API authentication credentials properly.

Links and References

  • n8n Expressions Documentation — for using expressions in property fields.
  • CIS Assessment API documentation (not provided here; consult your API provider for detailed reference).

Discussion