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¶
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.
-
DescriptionThe 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.
-
StatusIndicates the flow status as either
SAVEDorPUBLISHED. ThePUBLISHEDstatus will initiate validation on the content. theSAVEDstatus does not initiate validation of the content.SAVED|PUBLISHED. -
TagsThe 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:
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"
)
)