Skip to content

Create Campaign

connectcampaignservice_create_campaign R Documentation

Creates a campaign for the specified Amazon Connect account

Description

Creates a campaign for the specified Amazon Connect account. This API is idempotent.

Usage

connectcampaignservice_create_campaign(name, connectInstanceId,
  dialerConfig, outboundCallConfig, tags)

Arguments

name

[required]

connectInstanceId

[required]

dialerConfig

[required]

outboundCallConfig

[required]

tags

Value

A list with the following syntax:

list(
  id = "string",
  arn = "string",
  tags = list(
    "string"
  )
)

Request syntax

svc$create_campaign(
  name = "string",
  connectInstanceId = "string",
  dialerConfig = list(
    progressiveDialerConfig = list(
      bandwidthAllocation = 123.0,
      dialingCapacity = 123.0
    ),
    predictiveDialerConfig = list(
      bandwidthAllocation = 123.0,
      dialingCapacity = 123.0
    ),
    agentlessDialerConfig = list(
      dialingCapacity = 123.0
    )
  ),
  outboundCallConfig = list(
    connectContactFlowId = "string",
    connectSourcePhoneNumber = "string",
    connectQueueId = "string",
    answerMachineDetectionConfig = list(
      enableAnswerMachineDetection = TRUE|FALSE,
      awaitAnswerMachinePrompt = TRUE|FALSE
    )
  ),
  tags = list(
    "string"
  )
)