Skip to content

Instantly share code, notes, and snippets.

@farah
farah / flow-analytics-metrics.md
Last active September 4, 2025 16:41
Amazon Connect Flow Analytics - Feature Documentation

Monitor contact flow performance with metrics

View real-time and historical performance data directly in the flow designer to identify bottlenecks and optimize your published contact flows and modules.

Flow metrics require Next Generation Amazon Connect to be enabled for your instance. Your flow or module must be published to collect metrics.

Required permissions

Your security profile must have Access metrics - Access permission in the Analytics and Optimization section.

@farah
farah / server.js
Created September 25, 2019 01:05
server
var express = require('express');
var POSTS = {
'1': {'post': 'This is the first blog post.'},
'2': {'post': 'This is the second blog post.'},
'3': {'post': 'This is the third blog post.'}
};
var SERVER_PORT = 9999;
var serverapp = express();
serverapp.use(express.static(__dirname));
serverapp.get('/api/posts', function(req, res) {
@farah
farah / cors-example.html
Last active September 25, 2019 00:54
Cors example request
<!DOCTYPE html>
<html>
<body onload="loadPhotos();">
<div id="photos">Loading photos...</div>
<script>
function loadPhotos() {
var api_key = '<YOUR API KEY HERE>';
var method = 'GET';
var url = 'https://api.flickr.com/services/rest/?' +