Skip to content

Creates a flow for the specified Connect Customer instance

Description

Creates a flow for the specified Connect Customer instance.

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

Usage

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

Arguments

  • InstanceId

    [required] The identifier of the Connect Customer 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 Connect Customer 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 Connect Customer 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",
  FlowContentSha256 = "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"|"CAMPAIGN",
  Description = "string",
  Content = "string",
  Status = "PUBLISHED"|"SAVED",
  Tags = list(
    "string"
  )
)