Use sendCommand and sendConfig to perform batch command and configuration operations across multiple inventory devices in your workflows.
Inventory Manager provides built-in gateway services designed specifically for workflow automation in Studio. These services enable you to execute commands and apply configuration changes across multiple devices simultaneously with optimized inputs and outputs for workflow use.
Available services:
These services appear in the GatewayManager task palette collection in Studio.
sendCommand and sendConfig are purpose-built for workflow automation and provide several advantages:
If you previously used AutomationGateway adapter tasks (isAlive, runCommand, getConfig, setConfig) in your workflows, these services replace that functionality. The AutomationGateway adapter tasks were designed for internal Itential application use, while sendCommand and sendConfig are designed specifically for workflows. See Migrate inventory from IAG 4 for migration guidance.
For Configuration Manager and command template operations, IAG uses built-in broker services through Device Broker support. See Device Broker support for details.
If you’re migrating workflows from IAG 4, use this mapping to update your workflow tasks:
Ensure you have:
sendCommand and sendConfig services require inventory nodes with specific connection attributes to communicate with network devices.
itential_host: Device IP address or hostnameitential_user: SSH usernameitential_password: SSH passworditential_platform: Device platform/OS type (e.g., cisco_ios, arista_eos)itential_driver: Connection driver (netmiko or scrapli)itential_port: SSH port (default: 22)itential_become: Enter privileged mode (default: false)itential_become_password: Password for privilege escalationitential_driver_options: Advanced driver configurationFor complete details on configuring inventory nodes with these attributes, see Create and populate inventories.
For advanced driver configuration and performance tuning, see Configure driver options.
Sends commands to inventory nodes through a gateway service. Use this service to execute the same commands across multiple devices in a single workflow operation.
To use this service as a task in your workflows, use the sendCommand task from the GatewayManager task palette collection in Studio.
Example: inv_cluster_runner_237
Example:
inventory (string) - The name of the inventory containing the target nodesnodeNames (array, optional) - Array of node names within the inventory to target. If not provided, the operation runs on all nodes in the inventory.Example:
Sends configuration to inventory nodes through a gateway service. Use this service to apply the same configuration changes across multiple devices in a single workflow operation.
To use this service as a task in your workflows, use the sendConfig task from the GatewayManager task palette collection in Studio.
Example: inv_cluster_runner_237
Example:
inventory (string) - The name of the inventory containing the target nodesnodeNames (array, optional) - Array of node names within the inventory to target. If not provided, the operation runs on all nodes in the inventory.Example: