Actions222
- Application Baseline Actions
- Attack Surface Actions
- Backup Software Actions
- EDR Actions
- Tags Actions
- PII Actions
- External Scan Actions
- Settings Actions
- Compliance Assessment Actions
- Reports Actions
- Compliance Actions
- Jobs Actions
- Active Directory Actions
- Retrieve Ad Roles
- Retrieve Ad User Licenses
- Retrieve Azure Licenses
- Retrieve Azure Ad Logs
- Retrieve Azure Secure Score
- Retrieve Ad Password Policies
- Retrieve Ad Groups View
- Retrieve Ad Ous View
- Retrieve Ad Gpos View
- Retrieve Ad Computers View
- Retrieve Ad Users View
- Retrieve Ad Domain Details
- Retrieve Ad Gpos Details
- Retrieve Get Ous Details
- Retrieve Get Groups Details
- Retrieve Ad Group Users
- Retrieve Ad Group Computers
- Retrieve Get User Details
- Retrieve Get Computer Details
- Retrieve Ad Roles Details
- Retrieve Ad Roles Member
- Retrieve Ad Basic Info
- Audit Log Actions
- Ad Audit Actions
- Asset Data Actions
- Retrieve Bios Info
- Retrieve Bio Info
- Retrieve Browser Extensions
- Retrieve Browser Extension
- Retrieve Ciphers View
- Retrieve Cipher View
- Retrieve Windows Protection Status
- Retrieve Window Protection Status
- Retrieve Asset Compliance Report Card
- Retrieve Asset Firewall Policy
- Retrieve Asset Installed Drivers
- Retrieve Asset Installed Driver
- Retrieve Asset Interface
- Retrieve Asset Msdt
- Retrieve Asset Ports
- Retrieve Asset Port
- Retrieve Asset Security Report Data
- Retrieve Asset Security Report Datum
- Retrieve Asset Shares
- Retrieve Asset Share
- Retrieve Asset Storages
- Retrieve Asset Storage
- Retrieve Asset Unqouted Services
- Retrieve Asset Unqouted Service
- Retrieve Asset User Shares
- Retrieve Asset User Share
- Retrieve Asset Video Info
- Retrieve Asset Windows Reboot Required
- Retrieve Asset Window Reboot Required
- Vulnerabilities Actions
- Firewall Actions
- Integration Actions
- Retrieve Integration Credentials
- Retrieve Integration Credential
- Create Integration Credential
- Update Integration Credential
- Delete Integration Credential
- Retrieve Integration Rules
- Retrieve Integration Rule
- Create Integration Rule
- Update Integration Rule
- Delete Integration Rule
- Retrieve Company Mappings
- Retrieve Company Mapping
- Create Company Mapping
- Update Company Mapping
- Delete Company Mapping
- Event Set Actions
- Ticket Template Actions
- Scheduler Actions
- Credentials Actions
- Asset Actions
- Retrieve Records
- Retrieve Assets
- Retrieve Asset
- Create Asset
- Update Asset
- Delete Asset
- Retrieve Asset Stats
- Retrieve Asset Stat
- Retrieve Asset View
- Retrieve Cron Jobs
- Retrieve Kernel Modules
- Retrieve Suid Permissions
- Retrieve Ufw Firewall Rules
- Retrieve Selinux Settings
- Retrieve Asset Iptables Rules
- Retrieve Asset Users
- Retrieve Asset Processes Running
- Retrieve Asset Services
- Retrieve Asset Patches Info
- Retrieve Asset Firewall Rules
- Retrieve Asset Registry Misconfiguration
- Retrieve Asset Open Ports
- Retrieve Notification Tickets View
- Retrieve System Events View
- Discovery Settings Actions
- Retrieve Discovery Settings
- Retrieve Discovery Setting
- Create Discovery Setting
- Update Discovery Setting
- Delete Discovery Setting
- Retrieve Agent Discoverysettings Mapping
- Retrieve Agent Discoverysetting Mapping
- Create Agent Discoverysetting Mapping
- Update Agent Discoverysetting Mapping
- Delete Agent Discoverysetting Mapping
- Auth Actions
- Company Actions
- Agent Actions
Overview
This node operation, Update Company Mapping under the Integration resource, is designed to update configuration settings related to company integration mappings in an external system via an API. It allows users to modify notification preferences, consent settings, integration rules, and other configuration flags for a specific company identified by an ID.
Typical use cases include:
- Automating updates to company integration settings as part of a workflow.
- Synchronizing company preferences or rules from one system to another.
- Enabling or disabling notifications and consents programmatically based on business logic.
For example, a user might update a company's mapping to disable notifications and enable consent tracking after receiving updated compliance requirements.
Properties
| Name | Meaning |
|---|---|
| X USER ID | The User Id header value used for authentication or identification in the API request headers. |
| Data | JSON object containing the update details: - no_notification (boolean) - enable_notification (boolean) - consent_enabled (boolean) - configuration (boolean) - integration_rules (stringified JSON array) |
| Id | Numeric identifier of the company mapping record to update. |
Output
The node outputs the JSON response returned by the API after attempting to update the company mapping. This typically includes confirmation of the update status or the updated company mapping data.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the Connect Secure API.
- The node depends on the external Connect Secure API endpoint that handles company mapping updates.
- Proper configuration of the API credentials within n8n is necessary for successful execution.
Troubleshooting
- Missing or invalid X USER ID: The API may reject requests without a valid user ID header. Ensure this property is correctly set.
- Invalid JSON in Data property: The
datafield must be valid JSON. Malformed JSON will cause errors. - Incorrect company Id: Providing an invalid or non-existent company Id may result in "not found" or similar errors.
- API authentication errors: Verify that the API key credential is configured and has sufficient permissions.
- Network or connectivity issues: Ensure that n8n can reach the external API endpoint.
Common error messages might include:
- Unauthorized or 401 errors due to missing/invalid credentials.
- 400 Bad Request if required fields are missing or malformed.
- 404 Not Found if the specified company Id does not exist.
Resolving these usually involves verifying input properties, credentials, and network access.
Links and References
- Connect Secure API Documentation (Replace with actual URL)
- n8n documentation on Creating Custom Nodes