Skip to content

Instantly share code, notes, and snippets.

@tobyallen
Created October 12, 2022 03:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tobyallen/acc421ee1853168ddc3fbc404d89c805 to your computer and use it in GitHub Desktop.
Save tobyallen/acc421ee1853168ddc3fbc404d89c805 to your computer and use it in GitHub Desktop.
Okta Workflow Template for deleting a Twilio Flex TaskRouter Worker upon application unassignment.
{"type":"flopack","version":"1.3.0","created":"2022-10-12T03:55:47.025Z","flags":{"auto-transform":true,"looseBooleans":true,"looseStrings":true,"looseNulls":true},"data":{"flos":{"66b2eeea-570b-450f-908f-175c03439ecd":{"id":"66b2eeea-570b-450f-908f-175c03439ecd","name":"Delete Flex User for Blog","description":"","data":{"id":null,"uuid":"66b2eeea-570b-450f-908f-175c03439ecd","display":{"preview":[{"module":"okta","name":"","kernel":true},{"module":"httpfunctions","name":"get","kernel":false},{"module":"string","name":"concat","kernel":true},{"module":"string","name":"concat","kernel":true},{"module":"object","name":"get","kernel":true},{"module":"string","name":"concat","kernel":true},{"module":"httpfunctions","name":"delete","kernel":false},{"module":"control","name":"throwIf","kernel":true},{"module":"okta","name":"","kernel":true}],"isCallable":false},"tree":{"id":2,"name":"empty","description":"This flow has been build w/o a tree and uses the newer, async, Addressing module."},"methods":[{"joins":{},"address":"root:channels:http:okta:1.0.592:userRemovedFromApplicationMembership","parents":{"version":{"address":"root:channels:http:okta:1.0.592","key":"1.0.592","data":{"name":"1.0.592","id":457}},"channel":{"address":"root:channels:http:okta","key":"okta","data":{"name":"okta","id":5}}},"uuid":"jrocuSikn","branches":{},"node":{"key":"userRemovedFromApplicationMembership","data":{"name":"User Unassigned from Application"},"model":{"type":"method","_v":2,"key":"userRemovedFromApplicationMembership","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":true,"webhookList":true,"webhookConditions":{"where":["headers"],"key":"x-okta-verification-challenge"},"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":23304,"name":"User Unassigned from Application","description":null},"meta":{},"config":"d14e68dd-125d-4bad-a3e2-852fa5f00883","partnerChannelKeys":102,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{"0F8jH8I60":{"id":"0F8jH8I60","group":"parameters","key":"useId","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"No","available":[]},"required":false,"ref":false,"metadata":{"type":"list","displayname":"Use App Instance ID?","choices":[{"label":"Yes","value":"Yes"},{"label":"No","value":"No"}],"dependencies":[],"optional":false,"ordering":0,"index":0},"flags":"p"},"6A2hSNFNzW":{"id":"6A2hSNFNzW","group":"parameters","key":"app","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"tallen-oie_twilioflex_1","available":[]},"required":false,"ref":false,"metadata":{"type":"dynamic","method":{"channel":"okta","operation":"getActiveApplications","key":"name","value":"name"},"displayname":"Application","dependencies":["useId"],"drives":["instance"],"optional":false,"ordering":1,"index":1},"flags":"p"},"s3I8c3Ibjd":{"id":"s3I8c3Ibjd","group":"parameters","key":"instance","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"0oa4hp092dxAaQb8G0x7","available":[]},"required":false,"ref":false,"metadata":{"type":"dynamic","method":{"channel":"okta","operation":"getAppInstances","key":"label","value":"id"},"displayname":"Application Instance","dependencies":["app"],"optional":false,"ordering":2,"index":2},"flags":"p"},"MzZWokLLwI":{"id":"MzZWokLLwI","group":"parameters","key":"appId","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":[]},"required":false,"ref":false,"metadata":{"type":"string","displayname":"App Instance ID","optional":true,"ordering":3,"index":3},"flags":"p"},"emSEqtfa3R":{"id":"emSEqtfa3R","group":null,"key":"type","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"invoke","available":[]},"required":false,"ref":false,"metadata":{"forceHide":true,"index":4},"flags":"d"},"wsFKS4zcN8":{"id":"wsFKS4zcN8","group":null,"key":"data","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":[]},"required":false,"ref":false,"metadata":{"forceHide":true,"index":5},"flags":"d"}}},"outputs":{"extensible":false,"rules":{},"groupRules":{"context":{"extensible":false}},"data":{"mu7niKdpvD":{"id":"mu7niKdpvD","group":null,"key":"collection","value":{"error":false,"type":{"Output":{"type":{"Date and Time":{"type":"string","collection":false},"Message":{"type":"string","collection":false},"Event ID":{"type":"string","collection":false},"Event Type":{"type":"string","collection":false},"Event Time":{"type":"string","collection":false},"Version":{"type":"string","collection":false},"Admin":{"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false},"Okta User":{"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false},"Application User":{"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false},"Application":{"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false},"UUID":{"type":"string","collection":false},"Event Details":{"type":"object","collection":false},"Headers":{"type":"object","collection":false},"Source":{"type":"string","collection":false},"Debug Context":{"type":{"Debug Data":{"type":"object","collection":false}},"collection":false}},"collection":false}},"collection":true,"data":[],"available":[]},"ref":true,"metadata":{"forceHide":false,"displayname":"list","index":0},"_used":true},"zJZqJng4vRW":{"id":"zJZqJng4vRW","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":1}}}},"runtime":{},"display":{},"comments":"Starts flow when a user is unassigned from an application in Okta.(application.user_membership.remove)","enableNewMetadata":true}},"pins":{"mu7niKdpvD":{"w3aIIdcPde":[{"input":"dJpJExOx_P","transform":null}]}}},{"joins":{},"address":"root:kernel:list:0.0.1:asyncEach","parents":{"version":{"address":"root:kernel:list:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:list","key":"list","data":{"name":"list"}}},"uuid":"w3aIIdcPde","branches":{},"node":{"key":"asyncEach","data":{"name":"For Each - Ignore Errors"},"model":{"type":"method","_v":2,"key":"asyncEach","executable":false,"displayed":true,"async":true,"cooperative":true,"mirrored":false,"inlined":false,"dependencies":[],"timeout":300000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"For Each - Ignore Errors","description":"Process items in a list by calling a Flow for each item, continuing through all items in the list even if one of them causes an error in the helper Flow (aka For Each Async)."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{"list":{"types":["*"],"collection":true}},"groupRules":{"context":{"type":"object","reserved":{"index":"number"},"extensible":true}},"data":{"dJpJExOx_P":{"id":"dJpJExOx_P","group":null,"key":"list","value":{"type":"object","collection":true,"data":null,"available":["*"]},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"},"_CYVodS2z6":{"id":"_CYVodS2z6","group":null,"key":"flo","value":{"type":"flo","collection":false,"data":{"id":"f8d13629-e82f-4ccc-ab53-eb493db8f515","uuid":"f8d13629-e82f-4ccc-ab53-eb493db8f515","display":{"aliases":{"IwdvZtdIJz":"okta","56PDdryBTK":"okta","Qq8FH2ykCT":"okta","830HUTIzaz":"okta","ZOFaSwn_XH":"okta","In2TE-Wouz":"okta","Itn3Cp7YFT":"okta","CJvSiXB0NB":"okta","ahouy7WRsE":"okta","jI41X89D9X":"okta","MZDpZ3Y2eT":"okta","5gOMzXVHpT":"okta","U0j8qLYBio":"okta","T3nLwEoSh7":"okta","FXID3TCf8s":"okta","Jcm0Hhnw7j":"okta","A1FXL5v7oS":"okta","DsQq9gLgKV":"okta","S0HAK8L1tw":"okta","i-C7plGrpy":"okta","0SeVY7UrJN":"okta","rH4HoriP9h":"okta","zjoJh7yvzP":"okta","pNlg9XOrGk":"okta","Uly37ceJyr":"okta","HjZ1DMwzju":"okta","UJPD_npJZ8":"okta","JEk0MMic0R":"okta","EKaBd2XCSi":"okta","NMe5kRdbzG":"okta","w2Kr2djIVs":"okta","o-w5Bgsnzu":"okta","pXC2m7HxRJ":"okta","szluBlOoOX":"okta","1Qaq7Bcw0i":"okta","xWfItytQdi":"okta","RoLmpY5iz4":"okta","88ZXscTF59":"okta","4n_tlGxpyH":"okta","CX1w86uEDw":"okta","fHByEpZ354":"okta","G65d9hlro9":"okta","C1m2AabsuF":"okta","x_frCOsbO_":"okta","rGyVP7jgIF":"okta","gCnVibUe6V":"okta","czBdBZ7JX8":"okta","iky3Ve035G":"okta","2KXY6XCWlF":"okta","QjR8WUu8vc":"okta","hJSUAjLqoP":"okta","5W6IyUsc_h":"okta","1juFBzgQTS":"okta","Td1d5KgMTs":"okta","3Ja-k-UbI5":"okta","w69Eh9XHXgE":"okta","dHCl1ogNqX":"okta","-GSxlfCHfB":"okta","U06mbcdS3d":"okta","vOScjYcEtn":"okta","-Jw8tOWIMu":"okta","Me7ZnjK99a":"okta","JGkGZEoGR1":"okta","SEHO8zX5I8":"okta","5Ty2iiECUV":"okta","eGNvxJYm6B":"okta","Rh8_F_E7jW":"okta","bk2bmFjIDW":"okta","leBzhDtFHr":"okta","dIMQlTUKrL":"okta","RRWNYKqwwU":"okta","fOg_3R2tDV":"okta","5CNruBOkj3":"okta","MQo2v8u7cz":"okta","XdcxABbxfe":"okta","BhNWrEDT30":"okta","mDjll_-ezz":"okta","nNHhR7EdR6":"okta","SSMbE9P9Us":"okta","qRekVULJZd":"okta","G8CCk1-Mvd":"okta","rQtuHwHQsI":"okta","lmXend4eq1":"okta","5YT4TqzBrU":"okta","QLRZncQaqX":"okta","S23CmkP5Ak":"okta","8uK4drEL7e":"okta","elwU--eE_h":"okta","yXldhDGqaZ":"okta","u2GGXnnvcR":"okta","CiYxPkBh6r":"okta"}},"tree":{"id":2,"name":"empty","description":"This flow has been build w/o a tree and uses the newer, async, Addressing module."},"methods":[{"joins":{},"address":"root:kernel:control:0.0.1:callable","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"IwdvZtdIJz","branches":{},"node":{"key":"callable","data":{"name":"User Unassigned from Application"},"model":{"type":"method","_v":2,"key":"callable","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"User Unassigned from Application","description":"Start a Flow that executes on-demand, i.e. called by another Flow or via the Invoke API."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"collection":false}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"6SuQpt_yLy":{"id":"6SuQpt_yLy","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":0},"required":false,"flags":"d"},"pkxu3_tCJx":{"id":"pkxu3_tCJx","group":"Output","key":"Date and Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":1},"required":false,"flags":"d"},"P2C-hWMBrYP":{"id":"P2C-hWMBrYP","group":"Output","key":"Message","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":2},"required":false,"flags":"d"},"65QEos6DruL":{"id":"65QEos6DruL","group":"Output","key":"Event ID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":3},"required":false,"flags":"d"},"Jje4txrcOkp":{"id":"Jje4txrcOkp","group":"Output","key":"Event Type","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":4},"required":false,"flags":"d"},"pmhqJzW0E2w":{"id":"pmhqJzW0E2w","group":"Output","key":"Event Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":5},"required":false,"flags":"d"},"4pzNBfdvlF7":{"id":"4pzNBfdvlF7","group":"Output","key":"Version","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":6},"required":false,"flags":"d"},"Rtk8BcgrZcf":{"id":"Rtk8BcgrZcf","group":"Output","key":"Admin","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":7},"required":false,"flags":"d"},"Rjvh9AcTrgB":{"id":"Rjvh9AcTrgB","group":"Output","key":"Okta User","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":8},"required":false,"flags":"d"},"NcN0GeE9d6Q":{"id":"NcN0GeE9d6Q","group":"Output","key":"Application User","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":9},"required":false,"flags":"d","_used":true},"yfmMSZ2Zz05":{"id":"yfmMSZ2Zz05","group":"Output","key":"Application","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":10},"required":false,"flags":"d"},"NbhVhwlGcLS":{"id":"NbhVhwlGcLS","group":"Output","key":"UUID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":11},"required":false,"flags":"d"},"ZFS2VVIHCcZ":{"id":"ZFS2VVIHCcZ","group":"Output","key":"Event Details","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":12},"required":false,"flags":"d"},"Suvox80egDM":{"id":"Suvox80egDM","group":"Output","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":13},"required":false,"flags":"d"},"V-FjE7Opl7H":{"id":"V-FjE7Opl7H","group":"Output","key":"Source","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":14},"required":false,"flags":"d"},"AM_k1LnnoRq":{"id":"AM_k1LnnoRq","group":"Output","key":"Debug Context","value":{"error":false,"type":{"Debug Data":{"type":"object","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":15},"required":false,"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"collection":false}},"data":{"laEXdDYdWr":{"id":"laEXdDYdWr","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":0}},"rC2lbAHnTV":{"id":"rC2lbAHnTV","group":"Output","key":"Date and Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":1}},"V_Dg5WFJNcx":{"id":"V_Dg5WFJNcx","group":"Output","key":"Message","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":2}},"AJdjtTHKCwf":{"id":"AJdjtTHKCwf","group":"Output","key":"Event ID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":3}},"LbpY92NsDi7":{"id":"LbpY92NsDi7","group":"Output","key":"Event Type","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":4}},"sXOd6uCilir":{"id":"sXOd6uCilir","group":"Output","key":"Event Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":5}},"ITaw4ZcMg0i":{"id":"ITaw4ZcMg0i","group":"Output","key":"Version","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":6}},"V34HX7UnF75":{"id":"V34HX7UnF75","group":"Output","key":"Admin","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":7}},"_r6ayimzGr6":{"id":"_r6ayimzGr6","group":"Output","key":"Okta User","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":8}},"ITX9GZ2Cjmc":{"id":"ITX9GZ2Cjmc","group":"Output","key":"Application User","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":9},"_used":true},"cq70aNjidSO":{"id":"cq70aNjidSO","group":"Output","key":"Application","value":{"error":false,"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":10}},"_ocrCxHpDVO":{"id":"_ocrCxHpDVO","group":"Output","key":"UUID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":11}},"A27iGtnRleE":{"id":"A27iGtnRleE","group":"Output","key":"Event Details","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":12}},"NtI47DsgKO7":{"id":"NtI47DsgKO7","group":"Output","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":13}},"H79UAlxzHM7":{"id":"H79UAlxzHM7","group":"Output","key":"Source","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":14}},"BzmEwATo3A1":{"id":"BzmEwATo3A1","group":"Output","key":"Debug Context","value":{"error":false,"type":{"Debug Data":{"type":"object","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":15}}},"groupRules":{"context":{"extensible":false},"null":{"extensible":false},"*":{"extensible":false}}},"runtime":{},"comments":"Starts flow when a user is unassigned from an application in Okta.(application.user_membership.remove)"}},"pins":{"ITX9GZ2Cjmc":{"CiYxPkBh6r":[{"input":"1r8N_bTGXF","transform":null}]}}},{"joins":{},"address":"root:channels:http:httpfunctions:1.0.13:get","parents":{"version":{"address":"root:channels:http:httpfunctions:1.0.13","key":"1.0.13","data":{"name":"1.0.13"}},"channel":{"address":"root:channels:http:httpfunctions","key":"httpfunctions","data":{"name":"httpfunctions"}}},"uuid":"t3FrDbWF3","branches":{},"node":{"key":"get","data":{"name":"Get"},"model":{"type":"method","_v":2,"key":"get","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":19111,"name":"Get","description":null},"meta":{},"config":"01077620-8033-493e-8fb7-c3ab8bf67c86","partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{"Request":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"cYBramw1p":{"id":"cYBramw1p","group":"Request","key":"URL","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":false,"ref":false,"metadata":{"index":0,"optional":false},"flags":"d"},"NqxDFh7YHQ":{"id":"NqxDFh7YHQ","group":"Request","key":"Query","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","object"]},"required":false,"ref":false,"metadata":{"index":1,"optional":false},"flags":"d"},"P1OkE6WKT6":{"id":"P1OkE6WKT6","group":"Request","key":"Headers","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["object"]},"required":false,"ref":false,"metadata":{"index":2,"optional":false},"flags":"d"}}},"outputs":{"extensible":false,"rules":{},"groupRules":{"Response":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"uB4ShTt3Fk":{"id":"uB4ShTt3Fk","group":"Response","key":"Status Code","value":{"error":false,"type":"number","collection":false,"data":0,"available":["number"]},"ref":false,"metadata":{"index":0},"_used":true},"yAXJNvBr8L":{"id":"yAXJNvBr8L","group":"Response","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":1}},"u0EoWErahr":{"id":"u0EoWErahr","group":"Response","key":"Body","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":2},"_used":true}}},"runtime":{},"display":{},"comments":"Perform an HTTP GET request, returning the result of this request and the response headers.","enableNewMetadata":true}},"pins":{"u0EoWErahr":{"zt2yaQhn5":[{"input":"71YGfSw6-B","transform":null}]}}},{"joins":{},"address":"root:kernel:string:0.0.1:concat","parents":{"version":{"address":"root:kernel:string:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:string","key":"string","data":{"name":"string"}}},"uuid":"I7y8anVhF","branches":{},"node":{"key":"concat","data":{"name":"Concatenate"},"model":{"type":"method","_v":2,"key":"concat","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":90000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Concatenate","description":"Combine a list of text into a single text."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["string"],"collection":false}},"data":{"vM-6LVXpaz":{"id":"vM-6LVXpaz","group":null,"key":"string1","value":{"type":"string","collection":false,"data":"https://taskrouter.twilio.com/v1/Workspaces/","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0,"displayname":"Base URL","description":""},"flags":"d"},"CT8PQNRjv1":{"id":"CT8PQNRjv1","group":null,"key":"string2","value":{"type":"string","collection":false,"data":"Task Router Workspace SID","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":1,"displayname":"Workspace SID","description":""},"flags":"d"},"ktfZuvmrd":{"id":"ktfZuvmrd","group":null,"key":"input","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"/Workers","available":["string"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"outputs":{"extensible":false,"data":{"bGh8y8yd2D":{"id":"bGh8y8yd2D","group":null,"key":"output","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"URL"},"_used":true}}},"runtime":{}}},"pins":{"bGh8y8yd2D":{"t3FrDbWF3":[{"input":"cYBramw1p","transform":null}],"OvcKtw1wV":[{"input":"IPZ-Ilep9o","transform":null}]}}},{"joins":{},"address":"root:kernel:string:0.0.1:concat","parents":{"version":{"address":"root:kernel:string:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:string","key":"string","data":{"name":"string"}}},"uuid":"VZ00sH100","branches":{},"node":{"key":"concat","data":{"name":"Concatenate"},"model":{"type":"method","_v":2,"key":"concat","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":90000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Concatenate","description":"Combine a list of text into a single text."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["string"],"collection":false}},"data":{"SA4lC0PCgB":{"id":"SA4lC0PCgB","group":null,"key":"string1","value":{"type":"string","collection":false,"data":"TargetWorkersExpression=email==\"","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0,"displayname":"text 1"},"flags":"d"},"SiOPWqllyJ":{"id":"SiOPWqllyJ","group":null,"key":"string2","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":1,"displayname":"text 2"},"flags":"d"},"G-Ed91yRrS":{"id":"G-Ed91yRrS","group":null,"key":"input","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"\"","available":["string"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"outputs":{"extensible":false,"data":{"5AbCL8z18o":{"id":"5AbCL8z18o","group":null,"key":"output","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"query string"},"_used":true}}},"runtime":{}}},"pins":{"5AbCL8z18o":{"t3FrDbWF3":[{"input":"NqxDFh7YHQ","transform":null}]}}},{"joins":{},"address":"root:kernel:object:0.0.1:get","parents":{"version":{"address":"root:kernel:object:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:object","key":"object","data":{"name":"object"}}},"uuid":"zt2yaQhn5","branches":{},"node":{"key":"get","data":{"name":"Get"},"model":{"type":"method","_v":2,"key":"get","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":90000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Get","description":"Read a value from an object at a given path."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{"object":{"types":["object"],"collection":"*"},"path":{"types":["string"],"collection":"*"}},"data":{"71YGfSw6-B":{"id":"71YGfSw6-B","group":null,"key":"object","value":{"type":"object","collection":false,"data":{},"available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"},"Kg6TtRLIaY":{"id":"Kg6TtRLIaY","group":null,"key":"path","value":{"type":"string","collection":false,"data":"workers.0.sid","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":1},"flags":"d"}}},"outputs":{"extensible":false,"rules":{"output":{"types":["*"],"collection":"*"}},"data":{"TnmObMqKfq":{"id":"TnmObMqKfq","group":null,"key":"output","value":{"type":"string","collection":false,"data":"","available":["*"],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"Worker SID"},"_used":true}}},"runtime":{}}},"pins":{"TnmObMqKfq":{"OvcKtw1wV":[{"input":"rChi8UkIS","transform":null}],"UJHu_R9Ox":[{"input":"nJq-QX8z4_","transform":null}]}}},{"joins":{},"address":"root:kernel:string:0.0.1:concat","parents":{"version":{"address":"root:kernel:string:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:string","key":"string","data":{"name":"string"}}},"uuid":"OvcKtw1wV","branches":{},"node":{"key":"concat","data":{"name":"Concatenate"},"model":{"type":"method","_v":2,"key":"concat","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":90000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Concatenate","description":"Combine a list of text into a single text."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["string"],"collection":false}},"data":{"IPZ-Ilep9o":{"id":"IPZ-Ilep9o","group":null,"key":"string1","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0,"displayname":"URL","description":""},"flags":"d"},"aY8ZJBk3Aj":{"id":"aY8ZJBk3Aj","group":null,"key":"string2","value":{"type":"string","collection":false,"data":"/","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":1,"displayname":"Slash","description":""},"flags":"d"},"rChi8UkIS":{"id":"rChi8UkIS","group":null,"key":"Worker SID","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"outputs":{"extensible":false,"data":{"j-TLTDYJp4":{"id":"j-TLTDYJp4","group":null,"key":"output","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"Worker URL"},"_used":true}}},"runtime":{}}},"pins":{"j-TLTDYJp4":{"x-xNSWGqk":[{"input":"ry_suQs82q","transform":null}]}}},{"joins":{},"address":"root:channels:http:httpfunctions:1.0.13:delete","parents":{"version":{"address":"root:channels:http:httpfunctions:1.0.13","key":"1.0.13","data":{"name":"1.0.13"}},"channel":{"address":"root:channels:http:httpfunctions","key":"httpfunctions","data":{"name":"httpfunctions"}}},"uuid":"x-xNSWGqk","branches":{},"node":{"key":"delete","data":{"name":"Delete"},"model":{"type":"method","_v":2,"key":"delete","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":19110,"name":"Delete","description":null},"meta":{},"config":"01077620-8033-493e-8fb7-c3ab8bf67c86","partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{"Request":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"ry_suQs82q":{"id":"ry_suQs82q","group":"Request","key":"URL","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":false,"ref":false,"metadata":{"index":0,"optional":false},"flags":"d"},"0PYlAUiMRs":{"id":"0PYlAUiMRs","group":"Request","key":"Query","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","object"]},"required":false,"ref":false,"metadata":{"index":1,"optional":false},"flags":"d"},"ObfxipY0hI":{"id":"ObfxipY0hI","group":"Request","key":"Headers","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["object"]},"required":false,"ref":false,"metadata":{"index":2,"optional":false},"flags":"d"},"LDVMQ-WW6o":{"id":"LDVMQ-WW6o","group":"Request","key":"Body","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","object","Array"]},"required":false,"ref":false,"metadata":{"index":3,"optional":false},"flags":"d"}}},"outputs":{"extensible":false,"rules":{},"groupRules":{"Response":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"qOQ7zn-4Qm":{"id":"qOQ7zn-4Qm","group":"Response","key":"Status Code","value":{"error":false,"type":"number","collection":false,"data":0,"available":["number"]},"ref":false,"metadata":{"index":0}},"9HEo1EAnsx":{"id":"9HEo1EAnsx","group":"Response","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":1}},"dMJ59mZJmv":{"id":"dMJ59mZJmv","group":"Response","key":"Body","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":2}}}},"runtime":{},"display":{},"comments":"Perform an HTTP DELETE request, returning the result of this request and the response headers.","enableNewMetadata":true}},"pins":{}},{"joins":{},"address":"root:kernel:control:0.0.1:throwIf","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"UJHu_R9Ox","branches":{},"node":{"key":"throwIf","data":{"name":"Return Error If"},"model":{"type":"method","_v":2,"key":"throwIf","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":90000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Return Error If","description":"If a condition is true, throw an error and end the Flow."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"left-operand":{"types":["object","string","number","Date","boolean"]},"operator":{"types":["string"]},"right-operand":{"types":["object","string","number","Date","boolean"]},"*":{"types":["*"],"collection":"*"}},"data":{"nJq-QX8z4_":{"id":"nJq-QX8z4_","group":null,"key":"left-operand","value":{"type":"string","collection":false,"data":"","available":["object","string","number","Date","boolean"],"error":false},"required":false,"ref":false,"metadata":{"index":0,"displayname":"value a"},"flags":"d"},"z3HF4hLZx8":{"id":"z3HF4hLZx8","group":null,"key":"operator","value":{"type":"string","collection":false,"data":"is empty","available":[],"error":false},"required":false,"ref":false,"metadata":{"index":1,"choices":[{"value":"==","label":"equal to"},{"value":"!=","label":"not equal"},{"value":">=","label":"greater than or equal"},{"value":"<=","label":"less than or equal"},{"value":">","label":"greater than"},{"value":"<","label":"less than"},{"value":"%","label":"a multiple of"},{"value":"in","label":"in"},{"value":"not in","label":"not in"},{"value":"has","label":"has key"},{"value":"doesn't have","label":"doesn't have key"},{"value":"is empty","label":"is empty"},{"value":"is not empty","label":"is not empty"}],"displayname":"comparison"},"flags":"d"},"c6o2gMvV-c":{"id":"c6o2gMvV-c","group":null,"key":"right-operand","value":{"type":"string","collection":false,"data":"","available":["object","string","number","Date","boolean"]},"required":false,"ref":false,"metadata":{"index":2,"displayname":"value b"},"flags":"d"},"YUlLBRLsfg":{"id":"YUlLBRLsfg","group":null,"key":"message","value":{"type":"string","collection":false,"data":"User not found","available":["*"],"error":false},"required":false,"ref":false,"metadata":{"index":3},"flags":"d"},"yXfX8vzE9H":{"id":"yXfX8vzE9H","group":null,"key":"statusCode","value":{"type":"number","collection":false,"data":404,"available":[],"error":false},"required":false,"ref":false,"metadata":{"index":4},"flags":"d"}}},"outputs":{"extensible":false,"data":{}},"runtime":{},"display":{}}},"pins":{}},{"joins":{},"address":"root:kernel:object:0.0.1:expand","parents":{"version":{"address":"root:kernel:object:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:object","key":"object","data":{"name":"object"}}},"uuid":"CiYxPkBh6r","branches":{},"node":{"key":"expand","data":{"name":"IwdvZtdIJz"},"model":{"type":"method","_v":2,"key":"expand","executable":false,"displayed":false,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"IwdvZtdIJz","description":"Pick a set of keys out of an object with lists of keys."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"data":{"1r8N_bTGXF":{"id":"1r8N_bTGXF","group":null,"key":"object","value":{"type":{"ID":{"type":"string","collection":false},"Alternate ID":{"type":"string","collection":false},"Display Name":{"type":"string","collection":false},"Type":{"type":"string","collection":false}},"collection":false,"data":{},"available":[],"error":false},"required":true,"ref":false,"metadata":{"srcMethodId":"IwdvZtdIJz","srcOutputId":"ITX9GZ2Cjmc"},"flags":"d"}}},"outputs":{"extensible":true,"groupRules":{"*":{"type":"object","reserved":{"key":{"types":["string"],"collection":"*"},"value":{"types":["*"],"collection":"*"}},"extensible":false}},"data":{"EV3O9BQVcm":{"id":"EV3O9BQVcm","group":"YWJ9rkAGOG","key":"key","value":{"error":false,"type":"string","collection":true,"data":["Alternate ID"],"available":[]},"ref":true,"metadata":{"path":["Alternate ID"],"srcMethodId":"IwdvZtdIJz","srcOutputId":"ITX9GZ2Cjmc"}},"_nZqXdNSuS":{"id":"_nZqXdNSuS","group":"YWJ9rkAGOG","key":"value","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"path":["Alternate ID"],"srcMethodId":"IwdvZtdIJz","srcOutputId":"ITX9GZ2Cjmc"},"_used":true}}},"runtime":{}}},"pins":{"_nZqXdNSuS":{"VZ00sH100":[{"input":"SiOPWqllyJ","transform":null}]}}}],"model":{},"orderings":{"5T8gMFciLB":["IwdvZtdIJz","I7y8anVhF"],"nwMuOYy-jR":["I7y8anVhF","VZ00sH100"],"szObwUiIFg":["VZ00sH100","t3FrDbWF3"],"bx96O89xw-":["t3FrDbWF3","zt2yaQhn5"],"5aSj2lwP4P":["zt2yaQhn5","UJHu_R9Ox"],"qB-KuMR9MT":["UJHu_R9Ox","OvcKtw1wV"],"TNduXKfZjY":["OvcKtw1wV","x-xNSWGqk"],"1BAmz7Z07g":["IwdvZtdIJz","CiYxPkBh6r"],"QodszGyrVq":["CiYxPkBh6r","I7y8anVhF"],"y6o8xO9IYM":["CiYxPkBh6r","CiYxPkBh6r"]},"security_level":null,"log":false,"inheritLog":false,"group":null,"templateName":null,"connector_method_meta":{"inputs":{},"outputs":{},"options":{}},"monitor_flo":false},"available":[],"error":false},"required":true,"ref":false,"metadata":{"displayname":"Helper Flow","index":1},"flags":"d"},"rsV72Jmhwb":{"id":"rsV72Jmhwb","group":null,"key":"concurrency","value":{"type":"number","collection":false,"data":1},"required":true,"ref":false,"metadata":{"max":200,"min":1,"index":2},"flags":"d"}}},"outputs":{"extensible":false,"data":{}},"runtime":{}}},"pins":{}}],"model":{},"orderings":{"blwZ6zBht":["jrocuSikn","w3aIIdcPde"]},"cron":{},"security_level":null,"log":true,"inheritLog":true,"scheduled":false,"group":"86847302-5b98-40bd-b4db-3ac70d036edc","templateName":null,"connector_method_meta":{"inputs":{},"outputs":{},"options":{}},"monitor_flo":false}}},"configs":{"d14e68dd-125d-4bad-a3e2-852fa5f00883":{"id":"d14e68dd-125d-4bad-a3e2-852fa5f00883","name":"Okta","module":"okta","data":null},"01077620-8033-493e-8fb7-c3ab8bf67c86":{"id":"01077620-8033-493e-8fb7-c3ab8bf67c86","name":"Twilio API Connector","module":"httpfunctions","data":null}},"tables":{},"groups":{"86847302-5b98-40bd-b4db-3ac70d036edc":{"id":"86847302-5b98-40bd-b4db-3ac70d036edc","data":{"name":"Twilio","description":"","media_uri":""}}}},"checksum":"30cabb269b0d523d85ca3f7bd8f54d2b1a7240ebacceaabc2b7e5634e4fe315f"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment