post
https://tenants-gateway-api-sbx.sidedrawersbx.com/api/v1/tenants/workflows-automation/tenant/tenant-id//automations/import
Imports a workflow automation and all its recursive dependencies from a JSON file.
Key Features:
- Imports main automation configuration
- Recursively imports all dependent automations
- Smart matching and update logic for existing automations
- Cross-environment support with brand code mapping
- Comprehensive validation and error handling
Use Cases:
- Restore automation configurations from backup
- Migrate automations between environments
- Deploy automation templates
- Share automation workflows between tenants
Import Logic:
- Creates new automations if they don't exist
- Updates existing automations with matching names
- Preserves dependency relationships and references
- Validates all configurations before import
- Maintains automation hierarchy and execution order.
