Actions120
- Authentication Actions
- Bloqueios Actions
- Get Motivos
- Get Bloqueio Faturamento
- Get Bloqueio Conta
- Get Bloqueio Carteira
- Get Bloqueio Compra Pedido
- Get Bloqueio Cotacao Compra
- Get Bloqueio Data Minima Vencimento
- Get Bloqueio Estoque Negativo
- Get Bloqueio Financiamento Pedido
- Get Bloqueio Frete Pago
- Get Bloqueio Limite Credito
- Get Bloqueio Limite Individual
- Get Bloqueio Manutencao Preventiva
- Get Bloqueio Margem
- Get Bloqueio Mes Reajuste
- Get Bloqueio Parcela Minima
- Get Bloqueio Saldo Atrasado
- Desaprovar Bloqueio
- Liberar Bloqueio
- Liberar Bloqueio Limite Credito
- Liberar Bloqueio Limite Individual
- Classificacao Actions
- Cliente Actions
- Instituição Financeira Actions
- Linha de Crédito Actions
- Máquina Actions
- Mecânico Actions
- Motorista Actions
- Negócio Actions
- Nota Fiscal Actions
- Oficina Actions
- Orçamento Actions
- Orçamento Balcão Actions
- Ordem de Serviço Actions
- Criar Ordem de Serviço Completa
- Consultar por ID
- Consultar por Código Externo
- Listar Agendamentos
- Listar Agendamentos por ID
- Listar Status do Lock
- Listar Ordens de Serviço
- Incluir Ordem de Serviço
- Listar Ordens de Serviço Geral
- Incluir Apontamento
- Incluir Despesa
- Incluir Peça
- Incluir Serviço
- Editar Peça
- Editar Serviço
- Editar Veículo
- Incluir Observação
- Ordem Serviço Tipo Actions
- Pedido Actions
- Política de Prazo Actions
- Política de Preço Actions
- Produto Actions
- Prospect Actions
- Saída Actions
- Serviço Actions
- Status Financiamento Actions
- Título Actions
- Veículo Cliente Actions
- Veículo Próprio Actions
- Vendas Actions
- Vendedor Actions
Orçamento Balcão → Criar Item
AI-generatedOverview
This node integrates with the Nuvem Solution API to perform various operations across multiple resources. Specifically, for the Orçamento Balcão resource and the Criar Item operation, it allows users to create an item within an existing counter budget (orcamento balcão). This is useful in scenarios where you need to programmatically add items to a counter budget, such as automating sales or service quotes at a physical counter or point of sale.
Practical examples include:
- Adding a product or service item to a customer's counter budget during a sales transaction.
- Automating the addition of promotional items or discounts to a counter budget.
- Integrating with other systems to dynamically build counter budgets based on external triggers.
Properties
| Name | Meaning |
|---|---|
| ID | The numeric identifier of the counter budget to which the new item will be added. This is required to specify the target budget. |
| Additional Fields | A collection of optional fields that can be included when creating the item. These fields represent the details of the item being added, such as product ID, quantity, price, description, etc. (The exact fields are not detailed here but are passed as JSON in the request body.) |
Note: The "Additional Fields" property is implied from the code usage (additionalFields) though not explicitly listed in the provided properties JSON snippet. It is used to send the item details in the API request body.
Output
The node outputs a JSON array containing the response from the Nuvem Solution API after creating the item in the counter budget. The structure of the output JSON corresponds directly to the API's response for the created item, typically including details such as:
- Item ID
- Associated counter budget ID
- Product or service details
- Quantity
- Pricing information
- Status or confirmation data
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the Nuvem Solution API.
- Requires credentials providing:
- Base URL of the API
- Software key
- Secret
- User ID
- User key
- The node uses these credentials to authenticate and obtain an access token before making API requests.
- Proper configuration of these credentials in n8n is necessary for successful operation.
Troubleshooting
Common Issues
- Authentication Failure: If the API credentials are incorrect or expired, authentication will fail, preventing any operation.
- Invalid Counter Budget ID: Providing an invalid or non-existent counter budget ID will cause the API to return an error.
- Missing Required Fields: Not supplying mandatory fields like the counter budget ID or necessary item details will result in errors.
- API Endpoint Errors: Network issues or API downtime can cause request failures.
Error Messages and Resolutions
"Authentication failed: Invalid response from server"
Check your API credentials and ensure they are correct and have not expired."The operation 'createItem' is not supported for OrcamentoBalcao resource!"
Verify that the operation name is correctly set to "createItem".HTTP 4xx or 5xx errors from API
Inspect the error message returned by the API for details. Commonly, 400-series errors indicate client-side issues like invalid input, while 500-series indicate server problems.JSON Parsing Errors
Ensure that any JSON input (e.g., additional fields) is well-formed.
Links and References
- Nuvem Solution API Documentation (Assumed official API docs; replace with actual link if available)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for troubleshooting
This summary is based solely on static analysis of the provided source code and property definitions.