ããã«ã¡ã¯ãasken ã§ã¤ã³ãã©ã¨ã³ã¸ãã¢ããã¦ãã沼沢ã§ãã
ä»åã¯ãç·æ¥æ§ã®é«ãã¢ã©ã¼ããæ¤ç¥ããéã®é»è©±é£çµ¡ã®ä»çµã¿ã«ã¤ãã¦ã話ãã¾ãã
æ±ãã¦ãã課é¡
å¼ç¤¾ã§ã¯ãå
ã
ã·ã¹ãã ç£è¦ã¯ãã¦ãããã®ã®ãæ¤ç¥æã¯ã¡ã¼ã«ã Slack ã®éç¥ã«çã¾ã£ã¦ãããã·ã¹ãã ãæ·±å»ãªç¶æ
ã¨ãªã£ãå ´åã«æ¶é»ããä»çµã¿ãããã¾ããã§ããã
ä¼æ¥ãå¤éã«æ·±å»ãªç¶æ
ã¨ãªã£ãå ´åã«ã¡ã¼ã«ã Slack éç¥ã ãã§ã¯æ°ä»ãã¥ãããæ©æ¥ã«å¯¾å¦ããªããã°ãªããªãç¶æ³ã®æ¤ç¥ãé
ããæ¸å¿µãããã¾ããã
æ¤è¨ããã½ãªã¥ã¼ã·ã§ã³
Twilio
ã¾ããèªèº«ãå©ç¨ãããã¨ã®ãã Twilio ã使ã£ãæ¶é»ãæ¤è¨ãã¾ããã
ãããæãåºããã®ã¯ãé»è©±çªå·åå¾æã«æ¥æ¬ã®æ³ã«æºæ ããããã«å¿
è¦ãªå種æç¶ãã®é¢åãã§ããã
https://support.twilio.com/hc/en-us/articles/4406158662171
ãã®ãããªç ©éãªæç¶ããããªãã¦ãè¯ããããªæ¹æ³ãç¡ãããæ¢ãã¦ã¿ããã¨ã«ãã¾ããã
PagerDuty
ä¸è¨ã®ãããªæç¶ããä¸è¦ã§æ¶é»ãã§ãããµã¼ãã¹ã¨ãã¦ãã¤ã³ã·ãã³ãããã¸ã¡ã³ããµã¼ãã¹ã® PagerDuty ã次ã«æ¤è¨ãã¾ããã
PagerDuty ã§ã¯æ°è¦ã«æ¥æ¬ã®é»è©±çªå·ãåå¾ããå¿
è¦ããªããããTwilio ã®ãããªç
©éãªæç¶ãã¯ããã¾ããã
ãã©ã¤ã¢ã«ãå®æ½ããããæ¬éç¨ã«å©ç¨ãããã¨æã£ãã¨ãããææãã©ã³ã®ãã©ã¤ã¢ã«ã§è¯ãã£ãã¨æããæ©è½ãç¡æãã©ã³ã§ã¯ããã¤ãå©ç¨ã§ããªãã¨ãããã¨ãããããã©ããããã®ãã¨èãã¾ããã
ãã¡ããããªã³ã³ã¼ã«ä½å¶ãæ´ããã¤ã³ã·ãã³ãããã¸ã¡ã³ãã«ã¬ãããªåãå
¥ããå ´åã«ã¯é常ã«å¼·åãªãµã¼ãã¹ã ã¨ããã®ã¯å®æã§ãã¾ããã
ããããä»ã®çµç¹ä¸ã24/365 ã®ãªã³ã³ã¼ã«ä½å¶ãçµããã¨ã¯ç¾å®çã§ã¯ãªããä»åã¯ããã¾ã§é«æ©è½ãªãã®ã¯æ±ãã¦ããªãã£ããããææãã©ã³ãå©ç¨ããã¡ãªãããæãããã¾ããã§ããã
æãåºãããã¨
ãµã¨æ¬æ¥ã®èª²é¡ãæãåºããæãç·æ¥æã«èª°ãæ°ä»ããªãã¨ããç¶æ³ãæ¹åãããã£ãã ãã§ãããã¨ãæãåºãã¾ããã
è¨ãæ¹ãå¤ããã°ãã¢ãã¿ãªã³ã°ãã¼ã«ã¨é£æºãã¦é»è©±ãããããã£ãã ã ãªã®ã ã¨ã
ãããªãã¨ã¾ã Twilio ãé¸æè¢ã«æµ®ããã§ããã®ã§ãããããã§ãã1ã¤æãåºãããã¨ãããã¾ãã
ãããAmazon Connect ã§ãã
https://aws.amazon.com/jp/connect/
Amazon Connect ã¨ããã¨ã³ã¼ã«ã»ã³ã¿ã¼ãµã¼ãã¹ã®å°è±¡ãæã£ã¦ãã人ãå¤ãã®ã§ã¯ãªããã¨æãã¾ãããæ¶é»ãããã¨ããã¡ããã§ãã¾ãã
Amazon Connect ã PagerDuty ã¨åæ§ã«ãæ¥æ¬ã®é»è©±çªå·ãåå¾ããªãã¦ãé»è©±ãããããã¨ãã§ãããããç
©éãªæç¶ãã¯ããã¾ããã(2023å¹´7æç¾å¨)
Amazon Connect ã使ã£ã¦è¯ãæããªãã®ãä½ããªããæ¤è¨ããç¡äºã«è¯ãæããªä»çµã¿ãå®æããã®ã§ããã
æ§æå³
å¦çããã¼
- Step Functions ã¹ãã¼ããã·ã³ãããã¯
- CloudWatch ã¾ã㯠NewRelic ãã¯ãªãã£ã«ã«ã®ã¢ã©ã¼ããæ¤ç¥ããéã«ãEventBridge çµç±ã§ããã¯ãã
ã¢ã©ã¼ãå±¥æ´ç»é²ç¨ Lambda
å®è¡ã¢ã©ã¼ãå±¥æ´ãã¼ãã«
ã« item ã追åã¢ã©ã¼ãéç¥ç®¡çç¨ Queue
ã« Queue ãç»é²
Connect å¼ã³åºãç¨ Lambda
å®è¡ã¢ã©ã¼ãéç¥ç®¡çç¨ Queue
ãã Queue ãåå¾ããåå¾ã§ããå ´åã¯ä»¥ä¸å®è¡é£çµ¡å ãã¼ãã«
ã®ä¸è¦§ãåå¾- ä¸è¦§ã®ä¸ã§æçµæ¶é»æå»ãä¸çªå¤ã人ã®é»è©±çªå·ãæ¶é»ã¿ã¼ã²ããã«æå®ã㦠Amazon Connect ãããã¯
- é»è©±ã«åºããã©ããã«é¢ããããæ¶é»å¯¾è±¡è
ã®
é£çµ¡å ãã¼ãã«
item ã®æçµæ¶é»æå»ãæ´æ°
- 次ã®ã¹ããã
Queue ããã£ãã
ã§åç §ããå¤æ°ã«ããQueue ãåãããã©ããã®çå½å¤ããæ ¼ç´
Amazon Connect
ã®ã³ã³ã¿ã¯ãããã¼ã«åã£ã¦å¦ç- ãã°ãè¨é²
- æ¶é»ãã以ä¸ã®åºå®æãåç
- ãå½å ããããã§ç·æ¥åº¦ã®é«ãã¢ã©ã¼ããçºçãã¾ãããç¶æ³ã確èªãã¦ãã ãããã
- æåããï¼é»è©±ãç¹ãã£ãæã¯
ã¢ã©ã¼ãå±¥æ´æ´æ°ç¨ Lambda
ãããã¯ãã¦çµäº - 失æããï¼é»è©±ãç¹ãããªãã£ãæã¯ä½ãããçµäº
ã¢ã©ã¼ãå±¥æ´æ´æ°ç¨ Lambda
ã¢ã©ã¼ãå±¥æ´ãã¼ãã«
ã®å¯¾è±¡ã¢ã©ã¼ã item ã®åé»æ¥æãåé»è æ°åãæ´æ°ã¢ã©ã¼ãéç¥ç®¡çç¨ Queue
ã®å¯¾è±¡ã® Queue ãåé¤
Connect å¼ã³åºãç¨ Lambda
ã§æ ¼ç´ããããQueue ãåãããã©ããã®çå½å¤ãããã§ãã¯- true
- 90ç§å¾ã«
Connect å¼ã³åºãç¨ Lambda
ãå度ããã¯
- 90ç§å¾ã«
- false
- Queue ããªã ï¼ èª°ããé»è©±ã«åºãã¨ã¿ãªãã¦çµäºãã
- true
ã³ã¹ã
常æãããã³ã¹ã㯠DynamoDB ã«æ ¼ç´ããã¦ãããã¼ã¿ã«å¯¾ãã¦ã®ã¿ã§ãã
ãã ããDynamoDB ã¯æ¯æ25GBã¾ã§ç¡ææ ã¨ãªããããä»ã« DynamoDB ãã¼ãã«ããªããã°ç¡æã§æ¸ãã§ãããã
ä»ã®ãµã¼ãã¹ã¯ãã¢ã©ã¼ããçºçãã¦å®è¡ãããåã ãã®èª²éã¨ãªãã¾ãã
ç·æ¥åº¦ã®é«ãã¢ã©ã¼ããé »ç¹ã«èµ·ãããããªç°å¢ã§ãªããã°ãæ°ãã«ç¨åº¦ã®å¾®ã
ããéé¡ã§æ¸ãã§ãããã
工夫ãããã¤ã³ã
éç¨ã³ã¹ããæå°éã«
ããã¼ã¸ããµã¼ãã¹ã®ã¿ã§æ§æãããµã¼ãã¬ã¹ã§å®è£
ãã¦ãã¾ãã
é»è©±ãããããã ããªã®ã§ãéç¨ã³ã¹ãã¯æ¥µåæããªãå½¢ãæèãã¾ããã
ã¡ã³ããã³ã¹ãå¿
è¦ãªã®ã¯ Lambda ã«ä¹ãã¦ããã³ã¼ã(ãã¼ã¸ã§ã³ã¢ãã対å¿)㨠é£çµ¡å
ãã¼ãã«
ã«å¯¾ããæ¶é»å
ã®è¿½å å¤æ´åé¤ã®ã¿ã§ãã
é»è©±ã¯ç°å¸¸ãç¥ããããã¨ã ãã«ç¹å
ä»åãé»è©±ã§ã¯åºå®ã®æç« ããåããã¦ãã¾ããã
å®éã®ç¶æ³ã¯ã¢ããªãéãã¦ã¿ãããSlack éç¥ãã CloudWatch ã NewRelic ã®ããã·ã¥ãã¼ãã表示ããã°ããããããé»è©±ã§è©³ç´°ãä¼ããå¿
è¦ã¯ããã¾ããã
æ¶é»å ããã¼ãã¼ã·ã§ã³
é»è©±ã«åºããã©ããã«é¢ããã é£çµ¡å
ãã¼ãã«
ã®æçµæ¶é»æå»ãæ´æ°ãããã¨ã§ãæ¶é»å¯¾è±¡è
å
¨å¡ã«æºéãªãæ¶é»ãããããã«ãã¦ãã¦ãååé»è©±ãåã£ã人ãä¸çªæå¾ã®æ¶é»å¯¾è±¡ã«ãªãããã«ãã¦ãã¾ãã
ãã®ä» Tips
Connect å¼ã³åºãå¾ã®å¾ æ©æéã90ç§ã®çç±
Amazon Connect ã§ã¯ã60ç§çµéãã¦ãé話ãæ¥ç¶ãããªãå ´åã¯é話ã失æã¨ãªãããã«ãªã£ã¦ãã¾ãã
https://docs.aws.amazon.com/ja_jp/connect/latest/APIReference/API_StartOutboundVoiceContact.html
ä»®ã«60ç§ã®ãªã®ãªã§é»è©±ãåã£ãã¨ãã¦ãåºå®æç« ã®èªã¿ä¸ãã«11ç§ã»ã©è¦ãããã¨ããã®å¾ã® Queue åé¤å¦çã確å®ã«å®äºãã¦ãããã¨ãèæ
®ããçµæã90ç§ã¨ãã¾ããã
ããã«ãã£ã¦ã1人ãé»è©±ãåã£ãã®ã«æ¬¡ã®äººã«ãé»è©±ãè¡ã£ã¦ãã¾ããã¨ãé²ãã§ãã¾ãã
(ãã¨ã®å¤§ããã«ãã£ã¦ã¯çµå±é¢ä¿è
ã®æéã§å©ãèµ·ããããããããã¾ããã)
ã¢ã©ã¼ãå±¥æ´ãã¼ãã«
ã«åé»æ¥æã¨æ°åãæ®ãã¦ããçç±
äºè±¡çºçããæ¤ç¥(人éãæ°ä»ãã¾ã§)ã®æéã®è¨æ¸¬ã«å©ç¨ãããããåé»æ¥æãè¨é²ãã¦ãã¾ãã
ã¾ããå°æ¥çã«æåã«ã¢ã©ã¼ã対å¿ãããåæ°ã©ã³ãã³ã°ãªã©ãä½æããããä½ãããã®å½¢ã§è¡¨å½°ããã®ã«ä½¿ããããªã¼ã¨ããå¯ããªéæããããããåé»ãã人ã®æ°åãæ®ãããã«ãã¦ãã¾ãã
ãã¨ãã
ä»åã¯é»è©±ã¨ããæ段ãåãã¾ããããæ¬æ¥çã«ã¯ãã¢ã©ã¼ãã«æ°ä»ããã¨ãã§ããã°è¯ããã®ã§ãã¹ãã¼ããã©ã³ã®ã¢ã©ã¼ã æ©è½ã®ãããªãã¦ã¼ã¶ã¼ãã¢ã¯ã·ã§ã³ãåãã¾ã§é³ãé³´ããç¶ãã(ããããããå¤é¨ããèµ·åã§ãã)ãããªã¢ããªãããã°è¯ãã£ãã®ã§ããããã®ãããªã¢ããªã¯çºè¦ã§ããã
Twilio çã®ç´ æ´ããããµã¼ãã¹ãããä¸ã§ããã®ãããªä»çµã¿ãèªä½ããã®ã¯è»è¼ªã®åçºæã®ãããªæ°ããã¦æ©ãã ã®ã§ãããä»åã¯èªåãã¡ãæ±ãã¦ãã課é¡ã解決ããã®ã«æé©ãã¤ã·ã³ãã«ãªã½ãªã¥ã¼ã·ã§ã³ãè¦ã¤ãããªãã£ãããèªä½ãã¾ããã
çµæçã«ãæ¶é»å
ã®ãã¼ãã¼ã·ã§ã³ã工夫ãããã¨ãå¤é¨ãµã¼ãã¹ã使ãã ãã§ã¯ã§ããªãã£ãã§ãããä»çµã¿ã¾ã§ä½ããã®ã§è¯ãã£ãã¨æã£ã¦ãã¾ãã
ã¡ãªã¿ã«ãé£çµ¡å ãã¼ãã«ã®è¿½å æ´æ°åé¤ã Slack Slash Command ã§å®è¡ã§ããã楽ã ãªã¼ã¨æã£ã¦ã¾ãã®ã§ãããã¯ãã®ãã¡å®è£ ããããã¨æã£ã¦ã¾ãã