Public/Get-GCProcessAutomationTrigger.ps1
|
<# .SYNOPSIS Retrieves a single process automation trigger by ID. .DESCRIPTION Returns the details of a specific process automation trigger from Genesys Cloud. Uses the GET /api/v2/processautomation/triggers/{triggerId} endpoint. .PARAMETER TriggerId The unique identifier of the trigger to retrieve. .EXAMPLE Get-GCProcessAutomationTrigger -TriggerId 'a1b2c3d4-e5f6-7890-abcd-ef1234567890' .NOTES Genesys Cloud API: GET /api/v2/processautomation/triggers/{triggerId} #> function Get-GCProcessAutomationTrigger { [CmdletBinding()] param( [Parameter(Mandatory = $true)] [string]$TriggerId ) $endpoint = "processautomation/triggers/$TriggerId" return Invoke-GCApiRequest -Endpoint $endpoint -Method GET } |