aws-samples / aws-serverless-connect-wallboard

Sample code for building a serverless wallboard for Amazon Connect.
MIT No Attribution
28 stars 18 forks source link

Feature request #20

Open abilash44 opened 2 weeks ago

abilash44 commented 2 weeks ago

Hi I am pretty new to Cloudformation and Yaml files. Can anyone help me with a sample yaml file for importing step.

Brettles commented 2 weeks ago

Check out the original blog post - it has a very simple example of a wallboard yaml file that can be imported.

abilash44 commented 2 weeks ago

Is this the sample file

WallboardTemplateFormatVersion: 1 Description: Simple Wallboard Example Identifier: simplewallboard

Defaults:
  TextColor: black
  BackgroundColor: white
  TextSize: 15

Sources:
  - Source: AgentsAvailable
    Description: Agents available in basic queue (real-time)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:AGENTS_AVAILABLE
  - Source: ContactsInQueue
    Description: Contacts waiting in basic queue (real-time)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:CONTACTS_IN_QUEUE
  - Source: LongestWaiting
    Description: Longest waiting contact in basic queue (real-time)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:OLDEST_CONTACT_AGE
  - Source: ContactsHandled
    Description: Number of contacts handled today (historical)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx: yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:CONTACTS_HANDLED
  - Source: AbandonedCalls
    Description: Abandoned calls today (historical)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:CONTACTS_ABANDONED
  - Source: AverageCallTime
    Description: Average time to handle a call (historical)
    Reference: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx:yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy:HANDLE_TIME

Rows:
  - Row: 1
    Cells:
    - Cell: 1
      Text: Agents Available
      BackgroundColor: lightgreen
      TextSize: 20
    - Cell: 2
      Text: Contacts in Queue
      BackgroundColor: lightgreen
      TextSize: 20
    - Cell: 3
      Text: Longest Waiting
      BackgroundColor: lightgreen
      TextSize: 20
    - Cell: 4
      Text: Contacts Handled Today
      BackgroundColor: lightgreen
      TextSize: 20
    - Cell: 5
      Text: Abandoned Calls
      BackgroundColor: lightgreen
      TextSize: 20
    - Cell: 6
      Text: Average Handle Time
      BackgroundColor: lightgreen
      TextSize: 20
  - Row: 2
    Cells:
    - Cell: 1
      Reference: AgentsAvailable
      TextColor: blue
    - Cell: 2
      Reference: ContactsInQueue
      TextColor: blue
    - Cell: 3
      Reference: LongestWaiting
      TextColor: blue
    - Cell: 4
      Reference: ContactsHandled
      TextColor: blue
    - Cell: 5
      Reference: AbandonedCalls
      TextColor: blue
    - Cell: 6
      Reference: AverageCallTime
      TextColor: blue
Brettles commented 2 weeks ago

That is a sample file, yes. There are others in the blog post that demonstrate other features.