Skip to content

Create Contact Flow

connect_create_contact_flow R Documentation

Creates a flow for the specified Amazon Connect instance

Description

Creates a flow for the specified Amazon Connect instance.

You can also create and update flows using the Amazon Connect Flow language.

Usage

connect_create_contact_flow(InstanceId, Name, Type, Description,
  Content, Status, Tags)

Arguments

InstanceId

[required] The identifier of the Amazon Connect instance.

Name

[required] The name of the flow.

Type

[required] The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.

Description

The description of the flow.

Content

[required] The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language.

Length Constraints: Minimum length of 1. Maximum length of 256000.

Status

Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. the SAVED status does not initiate validation of the content. SAVED | PUBLISHED.

Tags

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

Value

A list with the following syntax:

list(
  ContactFlowId = "string",
  ContactFlowArn = "string"
)

Request syntax

svc$create_contact_flow(
  InstanceId = "string",
  Name = "string",
  Type = "CONTACT_FLOW"|"CUSTOMER_QUEUE"|"CUSTOMER_HOLD"|"CUSTOMER_WHISPER"|"AGENT_HOLD"|"AGENT_WHISPER"|"OUTBOUND_WHISPER"|"AGENT_TRANSFER"|"QUEUE_TRANSFER",
  Description = "string",
  Content = "string",
  Status = "PUBLISHED"|"SAVED",
  Tags = list(
    "string"
  )
)