@cxbuilder/flow-config 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,313 @@
1
+ # FlowConfig User Guide - Edit User
2
+
3
+ This guide is for business users with **Edit** access who can modify variable values and prompt content in existing flow configurations.
4
+
5
+ ## Table of Contents
6
+
7
+ - [Getting Started](#getting-started)
8
+ - [Understanding Your Role](#understanding-your-role)
9
+ - [Editing Variables](#editing-variables)
10
+ - [Editing Prompts](#editing-prompts)
11
+ - [Common Scenarios](#common-scenarios)
12
+ - [Best Practices](#best-practices)
13
+
14
+ ---
15
+
16
+ ## Getting Started
17
+
18
+ ### Accessing FlowConfig
19
+
20
+ 1. Log into the **Amazon Connect Agent Workspace**
21
+ 2. Click the **Apps** dropdown in the top right
22
+ 3. Select **FlowConfig** (or your customized app name)
23
+
24
+ ![Landing Page - Edit User](screenshots/landing-edit.png)
25
+
26
+ The application opens showing all flow configurations in the system.
27
+
28
+ ### Your Access Level
29
+
30
+ As an **Edit** user, you can:
31
+
32
+ - **View** all flow configurations
33
+ - **Edit variable values** within predefined constraints set by administrators
34
+ - **Edit prompt content** for all languages and channels
35
+ - **Preview voice prompts** using Amazon Polly
36
+
37
+ You **cannot**:
38
+
39
+ - Create new flow configurations
40
+ - Delete flow configurations
41
+ - Add or remove variables
42
+ - Change variable names
43
+ - Change variable schema types or options
44
+ - Access application settings
45
+
46
+ ---
47
+
48
+ ## Understanding Your Role
49
+
50
+ ### What Are Flow Configurations?
51
+
52
+ Flow configurations control how Amazon Connect contact flows behave. They contain:
53
+
54
+ - **Variables**: Settings that affect routing, features, and behavior
55
+ - **Prompts**: Messages played or displayed to customers
56
+
57
+ Your administrators have created these configurations and defined the schema types that control how you interact with variables.
58
+
59
+ ### Why Your Changes Matter
60
+
61
+ When you update a flow configuration:
62
+
63
+ - **Changes take effect immediately** for new customer contacts
64
+ - **No IT involvement required** for approved changes
65
+ - **Business agility** - respond quickly to changing needs
66
+
67
+ **Example**: During a fire alarm, you can immediately set `closure: true` to route all calls to a closure message, then set it back to `false` when operations resume.
68
+
69
+ ---
70
+
71
+ ## Editing Variables
72
+
73
+ Variables control contact flow behavior. Administrators have defined the **schema type** for each variable, which determines how you interact with it.
74
+
75
+ ![Variables - Edit User](screenshots/detail-variables-edit.png)
76
+
77
+ ### Variable Types
78
+
79
+ #### Text Variables
80
+
81
+ Simple text input for values like queue names or skill levels.
82
+
83
+ **Example**: `skillLevel`
84
+ - Current value: `advanced`
85
+ - You can change it to any text value
86
+ - Common uses: skill assignments, routing categories
87
+
88
+ #### Number Variables
89
+
90
+ Numeric input for values like wait times or queue depths.
91
+
92
+ **Example**: `maxWaitTime`
93
+ - Current value: `600`
94
+ - You can only enter numbers
95
+ - Common uses: timeout values, queue limits, retry counts
96
+
97
+ #### Boolean Variables
98
+
99
+ True/false toggle for feature flags and on/off settings.
100
+
101
+ **Example**: `closure`, `offerCallback`
102
+ - Current value: Checkbox (checked = true, unchecked = false)
103
+ - Click to toggle between true and false
104
+ - Common uses: feature flags, emergency closures, service availability
105
+
106
+ #### Select Variables
107
+
108
+ Dropdown with predefined options set by administrators.
109
+
110
+ **Example**: `priority`
111
+ - Current value: `medium`
112
+ - Click dropdown to see all available options (e.g., low, medium, high)
113
+ - You can only select from the provided options
114
+ - Common uses: priority levels, routing modes, service tiers
115
+
116
+ ### Editing a Variable Value
117
+
118
+ 1. Click on a flow configuration from the list
119
+ 2. Locate the variable in the **Variables** section
120
+ 3. Modify the value:
121
+ - **Text**: Type directly in the input field
122
+ - **Number**: Type a numeric value
123
+ - **Boolean**: Click the checkbox to toggle
124
+ - **Select**: Click the dropdown and choose an option
125
+ 4. Click **Save Changes** to apply
126
+
127
+ ### All Variables Are Editable
128
+
129
+ As an Edit user, you have access to modify all variables in all flow configurations. The schema type (Text, Number, Boolean, Select) controls how you interact with each variable, but all are editable.
130
+
131
+ ---
132
+
133
+ ## Editing Prompts
134
+
135
+ Prompts are messages delivered to customers via voice calls or chat.
136
+
137
+ ![Prompts - Edit User](screenshots/detail-edit.png)
138
+
139
+ ### Understanding Prompt Structure
140
+
141
+ Each prompt can have:
142
+
143
+ - **Multiple languages** (e.g., en-US, es-US, fr-CA)
144
+ - **Two channels per language**:
145
+ - **Voice Content**: Played on phone calls
146
+ - **Chat Content**: Displayed in chat (optional)
147
+
148
+ ### Editing Prompt Content
149
+
150
+ 1. Click on a flow configuration from the list
151
+ 2. Scroll to the **Prompts** section
152
+ 3. Expand a prompt by clicking its name
153
+ 4. Edit the **Voice Content** or **Chat Content** text area
154
+ 5. Click **Save Changes** to apply
155
+
156
+ ### Voice Content
157
+
158
+ Voice content is played to customers on phone calls.
159
+
160
+ **Tips:**
161
+ - Write naturally as if speaking to a customer
162
+ - Keep messages concise and clear
163
+ - SSML tags (e.g., `<break time="1s"/>`) are supported for advanced users
164
+ - Test your changes using the Preview feature
165
+
166
+ **Example**:
167
+ ```
168
+ Thank you for calling technical support. Your call is important to us.
169
+ Please continue to hold for the next available specialist.
170
+ ```
171
+
172
+ ### Chat Content (Optional)
173
+
174
+ Chat content is displayed to customers using chat.
175
+
176
+ **Why customize chat content?**
177
+ - Adapt language for written communication
178
+ - Change "calling" to "contacting"
179
+ - Remove voice-specific phrases
180
+
181
+ **Example**:
182
+ - **Voice**: "Thank you for calling XYZ Company"
183
+ - **Chat**: "Thank you for contacting XYZ Company"
184
+
185
+ If you leave chat content blank, the system will automatically use voice content (with SSML tags removed).
186
+
187
+ ### Preview Voice
188
+
189
+ Before saving, preview how your voice content will sound:
190
+
191
+ 1. Select a **voice** from the Preview dropdown (e.g., Joanna, Matthew)
192
+ 2. Click the **speaker icon**
193
+ 3. Listen to the preview using Amazon Polly text-to-speech
194
+
195
+ This helps you verify pronunciation and pacing before customers hear it.
196
+
197
+ ---
198
+
199
+ ## Common Scenarios
200
+
201
+ ### Scenario 1: Emergency Closure
202
+
203
+ **Situation**: Fire alarm requires immediate closure of the call center.
204
+
205
+ **Action**:
206
+ 1. Open the appropriate flow configuration (e.g., `main-queue`)
207
+ 2. Find the `closure` variable
208
+ 3. Click the checkbox to set it to **true**
209
+ 4. Optional: Set `offerCallback` based on expected downtime
210
+ - `true` if you'll return soon
211
+ - `false` if closure is indefinite
212
+ 5. Click **Save Changes**
213
+ 6. Changes take effect immediately for new callers
214
+
215
+ **When resolved**:
216
+ 1. Reopen the flow configuration
217
+ 2. Uncheck the `closure` variable (set to **false**)
218
+ 3. Click **Save Changes**
219
+
220
+ ### Scenario 2: Updating Seasonal Hours
221
+
222
+ **Situation**: Holiday hours change and customers need to hear updated information.
223
+
224
+ **Action**:
225
+ 1. Open the flow configuration for your queue
226
+ 2. Find the `welcome` or `hours` prompt
227
+ 3. Edit the voice content to reflect new hours
228
+ 4. Preview the changes using the Preview feature
229
+ 5. Click **Save Changes**
230
+
231
+ **Example Update**:
232
+ ```
233
+ Before:
234
+ "Our office hours are Monday through Friday, 9 AM to 5 PM."
235
+
236
+ After:
237
+ "Our holiday hours are Monday through Friday, 10 AM to 3 PM. We are closed December 24th and 25th."
238
+ ```
239
+
240
+ ### Scenario 3: Adjusting Queue Settings
241
+
242
+ **Situation**: Call volume is higher than expected, and you need to increase queue capacity.
243
+
244
+ **Action**:
245
+ 1. Open the flow configuration
246
+ 2. Find the `maxQueueDepth` variable (Number type)
247
+ 3. Increase the value (e.g., from `25` to `40`)
248
+ 4. Click **Save Changes**
249
+
250
+ ---
251
+
252
+ ## Best Practices
253
+
254
+ ### 1. Test Before Saving
255
+
256
+ - Use the **Preview** button to verify voice prompts sound natural
257
+ - Double-check spelling and grammar
258
+ - Ensure numeric values are reasonable
259
+
260
+ ### 2. Make Incremental Changes
261
+
262
+ - Change one thing at a time
263
+ - Test the impact before making additional changes
264
+ - Keep notes on what you changed and when
265
+
266
+ ### 3. Coordinate with Your Team
267
+
268
+ - Communicate changes to your team
269
+ - Avoid conflicting changes from multiple users
270
+ - Consider using a change log for critical configurations
271
+
272
+ ### 4. Understand the Impact
273
+
274
+ - Know which contact flows use each configuration
275
+ - Understand how variable changes affect customer experience
276
+ - When in doubt, ask your administrator
277
+
278
+ ### 5. Emergency Access
279
+
280
+ - Know which configurations control emergency scenarios
281
+ - Have the app accessible on mobile devices if needed
282
+ - Keep login credentials secure but accessible
283
+
284
+ ---
285
+
286
+ ## Troubleshooting
287
+
288
+ ### Changes aren't reflected in the contact flow
289
+
290
+ - Verify you clicked **Save Changes**
291
+ - Contact flows may cache briefly - test with a new contact
292
+ - Verify you're editing the correct configuration
293
+
294
+ ### Preview voice isn't working
295
+
296
+ - Check your network connection
297
+ - Try refreshing the page
298
+ - Ensure the voice content contains text
299
+
300
+ ### I don't see a flow configuration I need
301
+
302
+ - Verify the configuration exists by contacting your administrator
303
+ - The configuration may have been deleted or renamed
304
+
305
+ ---
306
+
307
+ ## Need Help?
308
+
309
+ - **Questions about what to change**: Consult your supervisor or team lead
310
+ - **Technical issues**: Contact your IT administrator
311
+ - **Access requests**: Contact your Amazon Connect administrator
312
+ - **Understanding variables**: Ask the contact flow designer or administrator who created the configuration
313
+
@@ -0,0 +1,324 @@
1
+ # FlowConfig User Guide - Read-Only User
2
+
3
+ This guide is for users with **Read** access who can view flow configurations but cannot make changes.
4
+
5
+ ## Table of Contents
6
+
7
+ - [Getting Started](#getting-started)
8
+ - [Understanding Your Role](#understanding-your-role)
9
+ - [Viewing Flow Configurations](#viewing-flow-configurations)
10
+ - [Understanding Variables](#understanding-variables)
11
+ - [Understanding Prompts](#understanding-prompts)
12
+ - [Common Use Cases](#common-use-cases)
13
+
14
+ ---
15
+
16
+ ## Getting Started
17
+
18
+ ### Accessing FlowConfig
19
+
20
+ 1. Log into the **Amazon Connect Agent Workspace**
21
+ 2. Click the **Apps** dropdown in the top right
22
+ 3. Select **FlowConfig** (or your customized app name)
23
+
24
+ ![Landing Page - Read User](screenshots/landing-read.png)
25
+
26
+ The application opens showing all flow configurations you have access to.
27
+
28
+ ### Your Access Level
29
+
30
+ As a **Read-only** user, you can:
31
+
32
+ - **View** flow configurations assigned to you
33
+ - **See all variable values**
34
+ - **Read all prompt content** for all languages and channels
35
+ - **Preview voice prompts** using Amazon Polly
36
+ - **Search and filter** configurations
37
+
38
+ You **cannot**:
39
+
40
+ - Create new flow configurations
41
+ - Edit variable values
42
+ - Edit prompt content
43
+ - Delete flow configurations
44
+ - Add or remove variables or prompts
45
+
46
+ ---
47
+
48
+ ## Understanding Your Role
49
+
50
+ ### Why Read-Only Access?
51
+
52
+ Read-only access is ideal for:
53
+
54
+ - **Auditors** reviewing configuration settings
55
+ - **Contact flow designers** verifying integration details
56
+ - **Quality assurance** teams reviewing customer-facing content
57
+ - **Stakeholders** monitoring current settings
58
+ - **Trainees** learning how configurations work
59
+
60
+ ### What Are Flow Configurations?
61
+
62
+ Flow configurations contain settings and content that Amazon Connect contact flows use to interact with customers:
63
+
64
+ - **Variables**: Control flow behavior, routing, and features
65
+ - **Prompts**: Messages customers hear (voice) or see (chat)
66
+
67
+ ---
68
+
69
+ ## Viewing Flow Configurations
70
+
71
+ ![Detail View - Read User](screenshots/detail-read.png)
72
+
73
+ ### Opening a Configuration
74
+
75
+ 1. From the landing page, click on any flow configuration ID
76
+ 2. The detail view shows:
77
+ - **Basic Information**: ID and description
78
+ - **Variables**: All variable names and current values
79
+ - **Prompts**: All prompts with voice and chat content
80
+
81
+ ### Searching for Configurations
82
+
83
+ Use the search box to find specific configurations:
84
+
85
+ 1. Type any part of the ID or description
86
+ 2. Results filter automatically as you type
87
+ 3. Click a result to view its details
88
+
89
+ ---
90
+
91
+ ## Understanding Variables
92
+
93
+ Variables are key-value pairs that control contact flow behavior.
94
+
95
+ ![Variables - Read User](screenshots/detail-variables-read.png)
96
+
97
+ ### Variable Display
98
+
99
+ Each variable shows:
100
+
101
+ - **Variable Name**: The identifier used in contact flows
102
+ - **Value**: The current setting
103
+
104
+ ### Variable Types
105
+
106
+ You may see different types of variable values:
107
+
108
+ #### Text Variables
109
+
110
+ Simple text values displayed as-is.
111
+
112
+ **Example**:
113
+ - `skillLevel`: `advanced`
114
+
115
+ #### Number Variables
116
+
117
+ Numeric values for timeouts, limits, or counts.
118
+
119
+ **Example**:
120
+ - `maxWaitTime`: `600`
121
+
122
+ #### Boolean Variables
123
+
124
+ True/false values displayed with checkmarks and color indicators:
125
+ - ✓ **true** (green)
126
+ - ✗ **false** (red)
127
+
128
+ **Example**:
129
+ - `closure`: ✗ false
130
+ - `offerCallback`: ✓ true
131
+
132
+ #### Select Variables
133
+
134
+ Values chosen from a predefined list of options.
135
+
136
+ **Example**:
137
+ - `priority`: `medium` (other options might include low, high)
138
+
139
+ ### What Variables Control
140
+
141
+ Common variable use cases:
142
+
143
+ - **Feature Flags**: Enable/disable features (`offerCallback`, `enableIVR`)
144
+ - **Emergency Settings**: Closure flags and alternate routing
145
+ - **Queue Settings**: Wait times, capacity limits
146
+ - **Routing Logic**: Priority levels, skill requirements
147
+ - **Business Rules**: Hours of operation, service availability
148
+
149
+ ---
150
+
151
+ ## Understanding Prompts
152
+
153
+ Prompts are messages delivered to customers.
154
+
155
+ ![Prompts - Read User](screenshots/detail-prompts-read.png)
156
+
157
+ ### Prompt Structure
158
+
159
+ Each prompt may contain:
160
+
161
+ - **Multiple Languages**: Support for international customers
162
+ - `en-US`: English (United States)
163
+ - `es-US`: Spanish (United States)
164
+ - `fr-CA`: French (Canada)
165
+ - And more...
166
+
167
+ - **Two Content Types per Language**:
168
+ - **Voice Content**: Played on phone calls
169
+ - **Chat Content**: Displayed in chat conversations
170
+
171
+ ### Viewing Prompt Content
172
+
173
+ 1. Expand a prompt by clicking its name
174
+ 2. Expand a language by clicking the language code
175
+ 3. Read the voice and chat content
176
+
177
+ ### Voice Content
178
+
179
+ Voice content is what customers hear when they call.
180
+
181
+ **Key Points**:
182
+ - May include SSML tags for enhanced speech (e.g., `<break time="1s"/>`)
183
+ - Designed to be spoken naturally
184
+ - Selected automatically based on customer's language preference
185
+
186
+ ### Chat Content
187
+
188
+ Chat content is what customers see in chat conversations.
189
+
190
+ **Key Points**:
191
+ - Often customized to sound more natural in text
192
+ - If empty, voice content is used (with SSML removed)
193
+ - Example differences:
194
+ - Voice: "Thank you for calling"
195
+ - Chat: "Thank you for contacting us"
196
+
197
+ ### Previewing Voice Prompts
198
+
199
+ To hear how a voice prompt sounds:
200
+
201
+ 1. Locate the prompt and language you want to preview
202
+ 2. Select a voice from the **Preview Voice** dropdown
203
+ 3. Click the **speaker icon**
204
+ 4. Listen to the preview using Amazon Polly
205
+
206
+ This shows you exactly what customers will hear.
207
+
208
+ ---
209
+
210
+ ## Common Use Cases
211
+
212
+ ### Use Case 1: Auditing Configuration Settings
213
+
214
+ **Scenario**: Quality assurance team reviews monthly configurations.
215
+
216
+ **Actions**:
217
+ 1. Access FlowConfig from Agent Workspace
218
+ 2. Review each flow configuration assigned to you
219
+ 3. Check variable values align with business requirements
220
+ 4. Verify prompt content follows brand guidelines
221
+ 5. Document any discrepancies for administrator review
222
+
223
+ ### Use Case 2: Verifying Contact Flow Integration
224
+
225
+ **Scenario**: Contact flow designer confirms variable names and values before deploying a new flow.
226
+
227
+ **Actions**:
228
+ 1. Open the flow configuration that will be used
229
+ 2. Note all variable names (e.g., `closure`, `maxWaitTime`)
230
+ 3. Verify expected values are present
231
+ 4. Confirm prompt names match what the contact flow expects
232
+ 5. Use this information to update contact flow Lambda calls
233
+
234
+ ### Use Case 3: Content Review
235
+
236
+ **Scenario**: Marketing team reviews customer-facing prompts for brand consistency.
237
+
238
+ **Actions**:
239
+ 1. Access FlowConfig
240
+ 2. Review all prompts across configurations
241
+ 3. Check language, tone, and branding
242
+ 4. Verify multi-language content is accurate
243
+ 5. Provide feedback to administrators for content updates
244
+
245
+ ### Use Case 4: Training and Documentation
246
+
247
+ **Scenario**: New team member learning how the contact center is configured.
248
+
249
+ **Actions**:
250
+ 1. Review flow configurations to understand operational settings
251
+ 2. Read variable descriptions and values
252
+ 3. Listen to prompt previews to understand customer experience
253
+ 4. Document learnings for future reference
254
+
255
+ ---
256
+
257
+ ## Best Practices
258
+
259
+ ### 1. Regular Review
260
+
261
+ - Periodically review configurations relevant to your role
262
+ - Stay informed about current settings
263
+ - Report discrepancies to your administrator
264
+
265
+ ### 2. Documentation
266
+
267
+ - Take notes on configurations you frequently reference
268
+ - Document variable meanings for your team
269
+ - Create reference guides for common scenarios
270
+
271
+ ### 3. Communicate Findings
272
+
273
+ - Report outdated or incorrect content to administrators
274
+ - Suggest improvements based on customer feedback
275
+ - Coordinate with Edit users on planned changes
276
+
277
+ ### 4. Use Preview Feature
278
+
279
+ - Listen to voice prompts to understand customer experience
280
+ - Test different voices to hear variations
281
+ - Verify pronunciation of technical terms or proper nouns
282
+
283
+ ---
284
+
285
+ ## Understanding Access Levels
286
+
287
+ If you need to make changes to flow configurations, contact your administrator to request elevated access:
288
+
289
+ - **Edit Access**: Allows changing variable values and prompt content
290
+ - **Full Access**: Allows creating, editing, and deleting configurations
291
+
292
+ Your administrator will evaluate your request based on your role and responsibilities.
293
+
294
+ ---
295
+
296
+ ## Troubleshooting
297
+
298
+ ### I can't see a configuration I need
299
+
300
+ - You may not have access to that configuration
301
+ - Contact your administrator to request access
302
+ - Verify you're searching with the correct ID or keywords
303
+
304
+ ### Preview voice isn't working
305
+
306
+ - Check your network connection
307
+ - Refresh the page and try again
308
+ - Ensure the prompt contains text content
309
+
310
+ ### I found incorrect information
311
+
312
+ - Document what you found (screenshot if possible)
313
+ - Contact the administrator or Edit user responsible for that configuration
314
+ - Do not attempt to modify it yourself
315
+
316
+ ---
317
+
318
+ ## Need Help?
319
+
320
+ - **Questions about configurations**: Contact your administrator or the team that manages flow configs
321
+ - **Technical issues**: Contact your IT support team
322
+ - **Access requests**: Contact your Amazon Connect administrator
323
+ - **Understanding variables**: Ask the contact flow designer or configuration owner
324
+
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxbuilder/flow-config",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "license": "MIT",
5
5
  "description": "Amazon Connect third-party app for configuring variables and prompts in Connect contact flows",
6
6
  "author": {
Binary file