New-CsOrganizationalAutoAttendantCallFlow

Use the New-CsOrganizationalAutoAttendantCallFlow cmdlet to create a new call flow.

Syntax

New-CsOrganizationalAutoAttendantCallFlow
   -Name <String>
   -Menu <Object>
   [-Greetings <List>]
   [-Tenant <Guid>]
   [<CommonParameters>]

Description

The New-CsOrganizationalAutoAttendantCallFlow cmdlet creates a new call flow for use with the Auto Attendant (AA) service. The OAA service uses the call flow to handle inbound calls by playing a greeting (if present), and provide callers with actions through a menu.

Examples

-------------------------- Example 1 --------------------------

$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts @($menuPrompt) -EnableDialByName 
$callFlow = New-CsOrganizationalAutoAttendantCallFlow -Name "Default Call Flow" -Menu $menu

This example creates a new call flow that renders the “Default Menu” menu.

-------------------------- Example 2 --------------------------

$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts $menuPrompt -EnableDialByName 
$greeting = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
$callFlow = New-CsOrganizationalAutoAttendantCallFlow -Name "Default Call Flow" -Menu $menu -Greetings $greeting

This example creates a new call flow that plays a greeting before rendering the “Default Menu” menu.

Required Parameters

-Menu

The Menu parameter identifies the menu to render when the call flow is executed.

You can create a new menu by using the New-CsOrganizationalAutoAttendantMenu cmdlet.

Type:System.Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Name

The Name parameter represents a unique friendly name for the call flow.

Type:System.String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Optional Parameters

-Greetings

If present, the prompts specified by the Greetings parameter (either TTS or Audio) are played before the call flow’s menu is rendered.

You can create prompts by using the New-CsOrganizationalAutoAttendantPrompt cmdlet.

Type:System.Collections.Generic.List
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Tenant
Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

None

Outputs

Microsoft.Rtc.Management.Hosted.OAA.Models.CallFlow