DEV Community

Cover image for Okta Workflows How-To: Retrieve Slack user status and other info using Custom API cards
Bryan Barrows for Okta Workflows

Posted on • Edited on

1 1

Okta Workflows How-To: Retrieve Slack user status and other info using Custom API cards

Okta Workflows includes an ever-growing library of connectable applications with pre-built actions and events that allow you to quickly automate business processes with ease.

However, there are times when we might know that an API that we're leveraging has a different endpoint or some other method by which we could extract additional necessary information.

These situations are what the Custom API Action cards included with each app connector are made for.


In this example, I've leveraged Slack - Custom API Cards to retrieve the full user profile as well as their status (active/away).

Flow Design - Get Slack User Status and Details

To accomplish this, we'll reference Slack's API docs to learn more about the /users.info and /users.getPresence methods.

A simple GET to those Relative URLs should do the trick...

  1. Use a Slack - Read User to get the Slack User ID.
  2. Use an Object - Construct with a key of user and input the Slack ID from the previous step. We'll use this query object in both of our Slack - Custom API cards to specify which user we want information about.
  3. Use two Slack - Custom API cards with a method of GET and the following Relative URLs:
    • /users.info
    • /users.getPresence
  4. Drag the object output from Step 2 into the "Query" input of each Custom API card.

And that's all there is to it! Looks like it worked:

Successful Flow Execution - Get Slack User Details and Status

Now you can use a pair of Object - Get Multiple cards to parse data out of each response body.

Notes

  • I've used Okta - User Added to Group for sake of example. You can substitute this to meet your needs. Just make sure to use the Slack - Read User to get the Slack User ID needed for the query object.
  • If you zoom in on my flow, you'll also notice that I built some error handling into my flow by putting my Custom API calls within an "If Error" card and building outputs in the case of a success as well as a failure. It's never a bad idea to build some error handling into your flows to make them more robust.

Feel free to download this example and import it to your environment:

{"type":"flopack","version":"1.3.0","created":"2022-08-05T00:14:35.079Z","flags":{"auto-transform":true,"looseBooleans":true,"looseStrings":true,"looseNulls":true},"data":{"flos":{"001af4a8-8d19-4080-a946-0347d77dbc3f":{"id":"001af4a8-8d19-4080-a946-0347d77dbc3f","name":"Get Slack User Details and Status","description":"","data":{"id":null,"uuid":"001af4a8-8d19-4080-a946-0347d77dbc3f","display":{"preview":[{"module":"okta","name":"","kernel":true},{"module":"control","name":"tryCatch","kernel":true},{"module":"object","name":"pick","kernel":true},{"module":"object","name":"pick","kernel":true},{"module":"control","name":"comment","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.581:userAddedToGroupMembership","parents":{"version":{"address":"root:channels:http:okta:1.0.581","key":"1.0.581","data":{"name":"1.0.581","id":1566}},"channel":{"address":"root:channels:http:okta","key":"okta","data":{"name":"okta","id":17}}},"uuid":"RAxHAvd4T","branches":{},"node":{"key":"userAddedToGroupMembership","data":{"name":"User Added to Group"},"model":{"type":"method","_v":2,"key":"userAddedToGroupMembership","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":47338,"name":"User Added to Group","description":null},"meta":{},"config":"5bfcb565-a50f-488b-957d-56776c52fd1f","partnerChannelKeys":206,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{"KJJrRJX34r":{"id":"KJJrRJX34r","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":0},"flags":"d"},"IXX7Px8Pfh":{"id":"IXX7Px8Pfh","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":1},"flags":"d"}}},"outputs":{"extensible":false,"rules":{},"groupRules":{"context":{"extensible":false}},"data":{"BeEyvY-u_U":{"id":"BeEyvY-u_U","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},"Group":{"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},"TuvXqeRhC9u":{"id":"TuvXqeRhC9u","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 added to a group in Okta.(group.user_membership.add)","enableNewMetadata":true}},"pins":{"BeEyvY-u_U":{"O_z59aQCfU":[{"input":"vonMmFEAUr","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":"O_z59aQCfU","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":{"vonMmFEAUr":{"id":"vonMmFEAUr","group":null,"key":"list","value":{"type":"object","collection":true,"data":null,"available":["*"]},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"},"1m1Rezy9c3":{"id":"1m1Rezy9c3","group":null,"key":"flo","value":{"type":"flo","collection":false,"data":{"id":"2480b98b-2244-4062-b265-5d9a350103ff","uuid":"2480b98b-2244-4062-b265-5d9a350103ff","display":{"aliases":{"-0Ru1J-H98":"okta","SfFEW4I1ia":"okta","4Jcxj05y4o":"okta","UrJfWq6w4S":"okta","uBBdYrszdS":"okta","nDdwXLH9DZ":"okta","yWwoVMC0LM":"okta","2n_HUjQbXm":"okta","cykQLfHa9e":"okta","e5mm3hMFPG":"okta","QXBEadLaZ8":"okta","9LUnIPaSfR":"okta","O_1OZ4qapg":"okta","9DVqVb4N02":"okta","c1STWJ2vGD":"okta","JosUO94fNi":"okta","ofNDMZIaSd":"okta","EnUnQWjYyo":"okta","8Vt_jC_8Sf":"okta","4ukvbgNjpx":"okta","0CMkYx8vAe":"okta","zK-SE9yy-S":"okta","r86nExRsxW":"okta","xUFasy22mw":"okta","ftQTE8I6cj":"okta","xl5vdqfUfQ":"okta","4HuTmwRHvS":"okta","ad44ezsnw0":"okta","hleKBLmun-":"okta","kMGGZa0JIM":"okta","O9e4vTKxz4":"okta","hIONusJclp":"okta","qGuCEdP1r1":"okta","8-6f_wzGs7":"okta","iEisCys_eR":"okta","elynvC07La":"okta","QizeR2RuuU":"okta","cDQ8u1LPI5":"okta","ZMoh0n5YXU":"okta","Ii1C1c4s_m":"okta","WqrpRe57O1":"okta","Fwzo8fq5B7":"okta","JSpqHWwL51":"okta","SwsEdi28ds":"okta","3l8iEgb8Ul":"okta","daqjNTNyAr":"okta","kVkU7_2Woh":"okta","eQKde6_VAI":"okta","uO69hul99k":"okta","oMm2DNbxpL":"okta","6fndejH9EJ":"okta","2isEPNPHjW":"okta","1Yub5FhDVl":"okta","JB9jSekuv8":"okta","hQfpcC0U66":"okta","8mMaBEKkJe4":"okta","HNOojdAucZz":"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":"-0Ru1J-H98","branches":{},"node":{"key":"callable","data":{"name":"User Added to Group"},"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 Added to Group","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":{"XluGpa_LNG":{"id":"XluGpa_LNG","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"},"zY0oB7mr7Z":{"id":"zY0oB7mr7Z","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"},"MMXTUW7Mg3":{"id":"MMXTUW7Mg3","group":"Output","key":"Message","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":2},"required":false,"flags":"d"},"mgEUGwP-3k9":{"id":"mgEUGwP-3k9","group":"Output","key":"Event ID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":3},"required":false,"flags":"d"},"OWWsBPmCQiN":{"id":"OWWsBPmCQiN","group":"Output","key":"Event Type","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":4},"required":false,"flags":"d"},"GtSxRe0ykRq":{"id":"GtSxRe0ykRq","group":"Output","key":"Event Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":5},"required":false,"flags":"d"},"O8fM2lmiEeV":{"id":"O8fM2lmiEeV","group":"Output","key":"Version","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":6},"required":false,"flags":"d"},"RaVDb0kfyay":{"id":"RaVDb0kfyay","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"},"uhIgGMpSPtO":{"id":"uhIgGMpSPtO","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"},"OB2MD3E7oa8":{"id":"OB2MD3E7oa8","group":"Output","key":"Group","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"},"O37RrNk9_5H":{"id":"O37RrNk9_5H","group":"Output","key":"UUID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":10},"required":false,"flags":"d"},"ZYJOiNpkda7":{"id":"ZYJOiNpkda7","group":"Output","key":"Event Details","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":11},"required":false,"flags":"d"},"qlX0F1T1AJR":{"id":"qlX0F1T1AJR","group":"Output","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":12},"required":false,"flags":"d"},"8pHZX2Qyas0":{"id":"8pHZX2Qyas0","group":"Output","key":"Source","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":13},"required":false,"flags":"d"},"upbDot34u2N":{"id":"upbDot34u2N","group":"Output","key":"Debug Context","value":{"error":false,"type":{"Debug Data":{"type":"object","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":14},"required":false,"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"collection":false}},"data":{"tX1Psp2sYu":{"id":"tX1Psp2sYu","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":0}},"2qT3DbMxRH":{"id":"2qT3DbMxRH","group":"Output","key":"Date and Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":1},"_used":true},"WtVKSjaQoC":{"id":"WtVKSjaQoC","group":"Output","key":"Message","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":2}},"HuhZyrZYnL":{"id":"HuhZyrZYnL","group":"Output","key":"Event ID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":3}},"Kdc8nnlzdKL":{"id":"Kdc8nnlzdKL","group":"Output","key":"Event Type","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":4}},"igFTEI5r-XL":{"id":"igFTEI5r-XL","group":"Output","key":"Event Time","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":5}},"qjq8NbvMBGT":{"id":"qjq8NbvMBGT","group":"Output","key":"Version","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":6}},"Zsa27TLhSHt":{"id":"Zsa27TLhSHt","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}},"hnJVcoGiG1I":{"id":"hnJVcoGiG1I","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},"_used":true},"fB82iJselob":{"id":"fB82iJselob","group":"Output","key":"Group","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}},"8tDMW1f9Ue2":{"id":"8tDMW1f9Ue2","group":"Output","key":"UUID","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":10}},"Js77xdFttex":{"id":"Js77xdFttex","group":"Output","key":"Event Details","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":11}},"_yM3Yozm789":{"id":"_yM3Yozm789","group":"Output","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":12}},"BzX3g1AyUPn":{"id":"BzX3g1AyUPn","group":"Output","key":"Source","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":13}},"L3LptRNXCu0":{"id":"L3LptRNXCu0","group":"Output","key":"Debug Context","value":{"error":false,"type":{"Debug Data":{"type":"object","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"index":14}}},"groupRules":{"context":{"extensible":false},"null":{"extensible":false},"*":{"extensible":false}}},"runtime":{},"comments":"Starts flow when a user is added to a group in Okta.(group.user_membership.add)"}},"pins":{"2qT3DbMxRH":{"N3u5h3igK":[{"input":"u02ZbVkcAp","transform":null}]},"hnJVcoGiG1I":{"HNOojdAucZz":[{"input":"ZKYcYIEdgbV","transform":null}]}}},{"joins":{},"address":"root:kernel:control:0.0.1:tryCatch","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":"N3u5h3igK","branches":{},"node":{"key":"tryCatch","data":{"name":"If Error"},"model":{"type":"method","_v":2,"key":"tryCatch","executable":false,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":300000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"handler","flo":{"id":"b97cd240-4671-4921-8ca3-f02903644b59","uuid":"b97cd240-4671-4921-8ca3-f02903644b59","display":{"aliases":{"eoS-N1xyG3a":"control","Sp1E__cWVCB":"control","RzZUhP1hpV6":"control","X_CR6rqd__M":"control","7XfTfSym2EQ":"control","8JND4XPlL4b":"control","6YByfh2y52S":"control","4m0k3BPoTil":"control","uXc8UrZ1MX9":"control","tOrnssAMEUQ":"control","C6VHS0G1PW_":"control","UQyYrt9pANW":"control","Ivppw3S0YNH":"control","PnBLctI-qmH":"control","NkRD9-6ZVcr":"control","mykY_A7ViFa":"control","3mJVzGbxlZg":"control","Mi2claKuIW7":"control","x_GySgpMaIm":"control","hCVjx4rvkRw":"control","5n_DjbhZwAr":"control","ZuY5L3rP3ri":"control","M3xBkUkcjX1":"control"}},"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":"FCe9dWnt01","branches":{},"node":{"key":"callable","data":{"name":"Helper Flow"},"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":"Helper Flow","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":{"*":{"types":["*"],"collection":"*"}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"aivEpB_l0j":{"id":"aivEpB_l0j","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":0},"required":false,"flags":"d"},"SMd4Vo9XGM":{"id":"SMd4Vo9XGM","group":"context","key":"7KNUV1eCfz","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"N3u5h3igK"},"required":false,"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"zbn0bnzuI1":{"id":"zbn0bnzuI1","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":0},"flags":"d","_used":true},"WcRU7A73Ue":{"id":"WcRU7A73Ue","group":"context","key":"7KNUV1eCfz","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"N3u5h3igK"},"_used":true}}},"runtime":{}}},"pins":{"WcRU7A73Ue":{"30IgpA9nF":[{"input":"oOEV6VtATH","transform":null}]},"zbn0bnzuI1":{"M3xBkUkcjX1":[{"input":"M9PNwOJ57pp","transform":null}]}}},{"joins":{},"address":"root:kernel:control:0.0.1:return","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":"QKQDlHrph0","branches":{},"node":{"key":"return","data":{"name":"Return"},"model":{"type":"method","_v":2,"key":"return","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"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","description":"End the Flow and return values to the caller of the Flow."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"gPyPpQ0iFJ":{"id":"gPyPpQ0iFJ","group":null,"key":"errorMessage","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"},"AfFBXFuKwk":{"id":"AfFBXFuKwk","group":null,"key":"userInfo","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":1,"custom":true},"flags":"d"},"E_81i1BJzL":{"id":"E_81i1BJzL","group":null,"key":"userPresence","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"E4FvwxiTbL":{"id":"E4FvwxiTbL","group":null,"key":"errorMessage","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"},"FvGK-HZX63":{"id":"FvGK-HZX63","group":null,"key":"userInfo","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":1,"custom":true},"flags":"d"},"l6x9BRVYAT":{"id":"l6x9BRVYAT","group":null,"key":"userPresence","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"runtime":{}}},"pins":{}},{"joins":{},"address":"root:kernel:string:0.0.1:compose","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":"30IgpA9nF","branches":{},"node":{"key":"compose","data":{"name":"Compose"},"model":{"type":"method","_v":2,"key":"compose","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":"Compose","description":"Enter free form text and optionally drag fields into your text like a mail merge."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["string"],"collection":false}},"data":{"QU7wWysDZ-":{"id":"QU7wWysDZ-","group":null,"key":"_text_","value":{"type":"string","collection":false,"data":"This didn't work! Check out flow execution {{{5MnlMpruC}}} from {{{ZG496_pu1}}}.","available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"},"TEEns9GiO7":{"id":"TEEns9GiO7","group":null,"key":"5MnlMpruC","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":false,"ref":false,"metadata":{"index":1},"flags":"d"},"oOEV6VtATH":{"id":"oOEV6VtATH","group":null,"key":"ZG496_pu1","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":false,"ref":false,"metadata":{"index":2},"flags":"d"}}},"outputs":{"extensible":false,"data":{"PbUinBLcEq":{"id":"PbUinBLcEq","group":null,"key":"output","value":{"type":"string","collection":false,"data":"","available":[],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"errorMessage"},"_used":true}}},"runtime":{}}},"pins":{"PbUinBLcEq":{"QKQDlHrph0":[{"input":"gPyPpQ0iFJ","transform":null}]}}},{"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":"M3xBkUkcjX1","branches":{},"node":{"key":"expand","data":{"name":"FCe9dWnt01"},"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":"FCe9dWnt01","description":"Pick a set of keys out of an object with lists of keys."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"data":{"M9PNwOJ57pp":{"id":"M9PNwOJ57pp","group":null,"key":"object","value":{"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":{},"available":[],"error":false},"required":true,"ref":false,"metadata":{"srcMethodId":"FCe9dWnt01","srcOutputId":"zbn0bnzuI1"},"flags":"d"}}},"outputs":{"extensible":true,"groupRules":{"*":{"type":"object","reserved":{"key":{"types":["string"],"collection":"*"},"value":{"types":["*"],"collection":"*"}},"extensible":false}},"data":{"8tJ5CpJveLw":{"id":"8tJ5CpJveLw","group":"l587HEBk5qq","key":"key","value":{"error":false,"type":"string","collection":true,"data":["execution"],"available":[]},"ref":true,"metadata":{"path":["execution"],"srcMethodId":"FCe9dWnt01","srcOutputId":"zbn0bnzuI1"}},"Pti19LmmlCQ":{"id":"Pti19LmmlCQ","group":"l587HEBk5qq","key":"value","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"path":["execution"],"srcMethodId":"FCe9dWnt01","srcOutputId":"zbn0bnzuI1"},"_used":true}}},"runtime":{}}},"pins":{"Pti19LmmlCQ":{"30IgpA9nF":[{"input":"TEEns9GiO7","transform":null}]}}}],"model":{},"orderings":{"fZdxqSkzHw":["FCe9dWnt01","30IgpA9nF"],"FXOGcM5mj8":["30IgpA9nF","QKQDlHrph0"],"22sDqRttjDm":["FCe9dWnt01","M3xBkUkcjX1"],"jtTn2mCfrS1":["M3xBkUkcjX1","30IgpA9nF"],"uVkDkznQq-C":["M3xBkUkcjX1","M3xBkUkcjX1"]},"security_level":null,"log":false,"inheritLog":false,"group":null,"templateName":null,"connector_method_meta":{"inputs":{},"outputs":{},"options":{}},"monitor_flo":false},"merge":"join"}},"metadata":{"id":null,"name":"If Error","description":"Try a series of actions. If there's an error, run a different series of actions."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"groupRules":{"context":{"extensible":true,"reserved":{},"type":"object"}},"data":{"qSOke40_tX":{"id":"qSOke40_tX","group":null,"key":"flo","value":{"type":"flo","collection":false,"data":{"id":"f7552f51-16b7-41c5-ac98-94e1e0720eac","uuid":"f7552f51-16b7-41c5-ac98-94e1e0720eac","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":"RwGd0_ThFG","branches":{},"node":{"key":"callable","data":{"name":"Helper Flow"},"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":"Helper Flow","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":{"*":{"types":["*"],"collection":"*"}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"0yvQA-pSoYB":{"id":"0yvQA-pSoYB","group":"context","key":"j4AK_y135F6","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"N3u5h3igK"},"required":false,"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"LZq1dWuHGtW":{"id":"LZq1dWuHGtW","group":"context","key":"j4AK_y135F6","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"N3u5h3igK"},"_used":true}}},"runtime":{}}},"pins":{"LZq1dWuHGtW":{"0LAmXjMS-":[{"input":"BZErGMPDX","transform":null}]}}},{"joins":{},"address":"root:kernel:control:0.0.1:return","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":"BpY3bMxJyO","branches":{},"node":{"key":"return","data":{"name":"Return"},"model":{"type":"method","_v":2,"key":"return","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"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","description":"End the Flow and return values to the caller of the Flow."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"gmFSzJ3YA0":{"id":"gmFSzJ3YA0","group":null,"key":"errorMessage","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"},"HZ_Jeytp1L":{"id":"HZ_Jeytp1L","group":null,"key":"userInfo","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":1,"custom":true},"flags":"d"},"Gnnx9-qbep":{"id":"Gnnx9-qbep","group":null,"key":"userPresence","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"voH7b3zdpm":{"id":"voH7b3zdpm","group":null,"key":"errorMessage","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"},"PGprm9aXfk":{"id":"PGprm9aXfk","group":null,"key":"userInfo","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":1,"custom":true},"flags":"d"},"TWgUrFeDfN":{"id":"TWgUrFeDfN","group":null,"key":"userPresence","value":{"error":false,"proxy":false,"check":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true},"flags":"d"}}},"runtime":{}}},"pins":{}},{"joins":{},"address":"root:channels:http:slack:1.6.229:httpRequest","parents":{"version":{"address":"root:channels:http:slack:1.6.229","key":"1.6.229","data":{"name":"1.6.229"}},"channel":{"address":"root:channels:http:slack","key":"slack","data":{"name":"slack"}}},"uuid":"6P5De5tfE","branches":{},"node":{"key":"httpRequest","data":{"name":"Custom API Action"},"model":{"type":"method","_v":2,"key":"httpRequest","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":37534,"name":"Custom API Action","description":null},"meta":{"e9acfcde-5f31-47e7-9aa4-76085747d0f4":{"id":"3I0CqE1knVg","address":{"key":null,"group":"Request","fieldIndex":0,"defaultValue":{"path":[],"method":"getHttpInputs","data":{}},"namespace":"input"}}},"config":"8d22664a-b045-43b6-ad42-585496495437","partnerChannelKeys":208,"inputs":{"extensible":false,"rules":{},"groupRules":{"Request":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"38fem5XtAY":{"id":"38fem5XtAY","group":"parameters","key":"requestType","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"GET","available":[]},"required":false,"ref":false,"metadata":{"type":"list","displayname":"Request Type","choices":[{"label":"GET","value":"GET"},{"label":"POST","value":"POST"},{"label":"PUT","value":"PUT"},{"label":"PATCH","value":"PATCH"},{"label":"DELETE","value":"DELETE"}],"dependencies":[],"optional":false,"ordering":0,"index":0},"flags":"p"},"FTXen19g6":{"id":"FTXen19g6","group":"Request","key":"Relative URL","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"/users.info","available":["string"]},"required":true,"ref":false,"metadata":{"index":0,"optional":false},"flags":"d"},"IHHN0LLaXH":{"id":"IHHN0LLaXH","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"},"fT55wGWOly":{"id":"fT55wGWOly","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":{"Sjm2T4Lov_":{"id":"Sjm2T4Lov_","group":"Response","key":"Status Code","value":{"error":false,"type":"number","collection":false,"data":0,"available":["number"]},"ref":false,"metadata":{"index":0}},"0PoaO99PsQ":{"id":"0PoaO99PsQ","group":"Response","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":1}},"LNuWU1BWfk":{"id":"LNuWU1BWfk","group":"Response","key":"Body","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":2},"_used":true}}},"runtime":{},"display":{},"comments":"Make an authenticated HTTP request to the Slack API","enableNewMetadata":true}},"pins":{"LNuWU1BWfk":{"BpY3bMxJyO":[{"input":"HZ_Jeytp1L","transform":null}]}}},{"joins":{},"address":"root:channels:http:slack:1.6.229:httpRequest","parents":{"version":{"address":"root:channels:http:slack:1.6.229","key":"1.6.229","data":{"name":"1.6.229"}},"channel":{"address":"root:channels:http:slack","key":"slack","data":{"name":"slack"}}},"uuid":"r4U-xYtxQ","branches":{},"node":{"key":"httpRequest","data":{"name":"Custom API Action"},"model":{"type":"method","_v":2,"key":"httpRequest","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":37534,"name":"Custom API Action","description":null},"meta":{"e9acfcde-5f31-47e7-9aa4-76085747d0f4":{"id":"3I0CqE1knVg","address":{"key":null,"group":"Request","fieldIndex":0,"defaultValue":{"path":[],"method":"getHttpInputs","data":{}},"namespace":"input"}}},"config":"8d22664a-b045-43b6-ad42-585496495437","partnerChannelKeys":208,"inputs":{"extensible":false,"rules":{},"groupRules":{"Request":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"-JfQJLIV_h":{"id":"-JfQJLIV_h","group":"parameters","key":"requestType","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"GET","available":[]},"required":false,"ref":false,"metadata":{"type":"list","displayname":"Request Type","choices":[{"label":"GET","value":"GET"},{"label":"POST","value":"POST"},{"label":"PUT","value":"PUT"},{"label":"PATCH","value":"PATCH"},{"label":"DELETE","value":"DELETE"}],"dependencies":[],"optional":false,"ordering":0,"index":0},"flags":"p"},"GWlFKVdRVB":{"id":"GWlFKVdRVB","group":"Request","key":"Relative URL","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"/users.getPresence","available":["string"]},"required":true,"ref":false,"metadata":{"index":0,"optional":false},"flags":"d"},"1vtVpkcSnk":{"id":"1vtVpkcSnk","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"},"I-U02nJosm7":{"id":"I-U02nJosm7","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":{"O-rbm8dWIO":{"id":"O-rbm8dWIO","group":"Response","key":"Status Code","value":{"error":false,"type":"number","collection":false,"data":0,"available":["number"]},"ref":false,"metadata":{"index":0}},"84-yU_3TmG":{"id":"84-yU_3TmG","group":"Response","key":"Headers","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":1}},"JcYfjAbtU9":{"id":"JcYfjAbtU9","group":"Response","key":"Body","value":{"error":false,"type":"object","collection":false,"data":{},"available":["object"]},"ref":false,"metadata":{"index":2},"_used":true}}},"runtime":{},"display":{},"comments":"Make an authenticated HTTP request to the Slack API","enableNewMetadata":true}},"pins":{"JcYfjAbtU9":{"BpY3bMxJyO":[{"input":"Gnnx9-qbep","transform":null}]}}},{"joins":{},"address":"root:kernel:object:0.0.1:construct","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":"iXTGEWr-J","branches":{},"node":{"key":"construct","data":{"name":"Construct"},"model":{"type":"method","_v":2,"key":"construct","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":"Construct","description":"Create an object from multiple inputs."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"LuYFleZ4K":{"id":"LuYFleZ4K","group":null,"key":"user","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"required":false,"ref":false,"metadata":{"index":0,"custom":true},"flags":"d"}}},"outputs":{"extensible":false,"data":{"-mLmfYZxSF":{"id":"-mLmfYZxSF","group":null,"key":"output","value":{"type":"object","collection":false,"data":{},"available":[],"error":false},"ref":false,"metadata":{"index":0,"description":"","displayname":"queryObject"},"_used":true}}},"runtime":{}}},"pins":{"-mLmfYZxSF":{"6P5De5tfE":[{"input":"IHHN0LLaXH","transform":null}],"r4U-xYtxQ":[{"input":"1vtVpkcSnk","transform":null}]}}},{"joins":{},"address":"root:channels:http:slack:1.6.229:readUser2","parents":{"version":{"address":"root:channels:http:slack:1.6.229","key":"1.6.229","data":{"name":"1.6.229"}},"channel":{"address":"root:channels:http:slack","key":"slack","data":{"name":"slack"}}},"uuid":"0LAmXjMS-","branches":{},"node":{"key":"readUser2","data":{"name":"Read User"},"model":{"type":"method","_v":2,"key":"readUser2","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":37540,"name":"Read User","description":null},"meta":{"7a9d2087-c28d-400a-9a69-31a611f2af1b":{"id":"DWUC7yWHN6Z","address":{"key":null,"group":"User","fieldIndex":0,"defaultValue":{"path":[],"method":"genReadUsersInput"},"namespace":"input"}}},"config":"8d22664a-b045-43b6-ad42-585496495437","partnerChannelKeys":208,"inputs":{"extensible":false,"rules":{},"groupRules":{"User":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"dl-Jgi2r3x":{"id":"dl-Jgi2r3x","group":"parameters","key":"fieldType","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"Email","available":[]},"required":false,"ref":false,"metadata":{"type":"list","displayname":"Field Type","choices":[{"label":"User ID","value":"User ID"},{"label":"Username","value":"Username"},{"label":"Email","value":"Email"}],"dependencies":[],"optional":false,"ordering":0,"index":0},"flags":"p"},"BZErGMPDX":{"id":"BZErGMPDX","group":"User","key":"Email","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":"","available":["string"]},"required":true,"ref":false,"metadata":{"index":0,"optional":false},"flags":"d"}}},"outputs":{"extensible":false,"rules":{},"groupRules":{"User":{"extensible":false,"reserved":{},"index":0,"type":"object"}},"data":{"MU4KM_dJz2":{"id":"MU4KM_dJz2","group":"User","key":"Full Name","value":{"error":false,"type":"string","collection":false,"data":"","available":["string"]},"ref":false,"metadata":{"index":0}},"JQypH6lrF6":{"id":"JQypH6lrF6","group":"User","key":"Email","value":{"error":false,"type":"string","collection":false,"data":"","available":["string"]},"ref":false,"metadata":{"index":1}},"c0ErxS3OZB":{"id":"c0ErxS3OZB","group":"User","key":"User ID","value":{"error":false,"type":"string","collection":false,"data":"","available":["string"]},"ref":false,"metadata":{"index":2},"_used":true},"ycHruV6DLE":{"id":"ycHruV6DLE","group":"User","key":"Username","value":{"error":false,"type":"string","collection":false,"data":"","available":["string"]},"ref":false,"metadata":{"index":3}}}},"runtime":{},"display":{},"comments":"Read a user's information using their user ID, username, or email in Slack.","enableNewMetadata":true}},"pins":{"c0ErxS3OZB":{"iXTGEWr-J":[{"input":"LuYFleZ4K","transform":null}]}}}],"model":{},"orderings":{"pWkzWIP_Pd":["RwGd0_ThFG","0LAmXjMS-"],"g5rNuy-cS9":["0LAmXjMS-","iXTGEWr-J"],"fmiFXbuh2I":["iXTGEWr-J","6P5De5tfE"],"vH-4egflGW":["6P5De5tfE","r4U-xYtxQ"],"9Fq4UcaWtt":["r4U-xYtxQ","BpY3bMxJyO"]},"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":0},"flags":"d"},"u02ZbVkcAp":{"id":"u02ZbVkcAp","group":"context","key":"7KNUV1eCfz","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":null,"available":[]},"required":false,"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"FCe9dWnt01"},"flags":"d"},"lTABC-tIgE3":{"id":"lTABC-tIgE3","group":"context","key":"j4AK_y135F6","value":{"error":false,"proxy":false,"check":false,"type":"string","collection":false,"data":null,"available":[]},"required":false,"ref":false,"metadata":{"forceHide":true,"wormholeMethodId":"RwGd0_ThFG"},"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"UG9C7YqJC":{"id":"UG9C7YqJC","group":null,"key":"errorMessage","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true}},"c0HnNyaQF":{"id":"c0HnNyaQF","group":null,"key":"userInfo","value":{"error":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":1,"custom":true},"_used":true},"029CYxpKa":{"id":"029CYxpKa","group":null,"key":"userPresence","value":{"error":false,"type":"object","collection":false,"data":{},"available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":2,"custom":true},"_used":true}}},"runtime":{},"display":{}}},"pins":{"c0HnNyaQF":{"fkwNhDsv6":[{"input":"fuBhN3t5EU","transform":null}]},"029CYxpKa":{"cCj8L0nOx":[{"input":"0MVLc2OIja","transform":null}]}}},{"joins":{},"address":"root:kernel:object:0.0.1:pick","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":"fkwNhDsv6","branches":{},"node":{"key":"pick","data":{"name":"Get Multiple"},"model":{"type":"method","_v":2,"key":"pick","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 Multiple","description":"Pick several values from an object at once."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{"object":{"types":["object"],"collection":"*"}},"data":{"fuBhN3t5EU":{"id":"fuBhN3t5EU","group":null,"key":"object","value":{"type":"object","collection":false,"data":{},"available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"XoiAfby2r":{"id":"XoiAfby2r","group":null,"key":"user.tz","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":0,"custom":true}}}},"runtime":{}}},"pins":{}},{"joins":{},"address":"root:kernel:object:0.0.1:pick","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":"cCj8L0nOx","branches":{},"node":{"key":"pick","data":{"name":"Get Multiple"},"model":{"type":"method","_v":2,"key":"pick","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 Multiple","description":"Pick several values from an object at once."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{"object":{"types":["object"],"collection":"*"}},"data":{"0MVLc2OIja":{"id":"0MVLc2OIja","group":null,"key":"object","value":{"type":"object","collection":false,"data":{},"available":[],"error":false},"required":true,"ref":false,"metadata":{"index":0},"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"04KGUpqQi":{"id":"04KGUpqQi","group":null,"key":"presence","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo","folder"]},"ref":false,"metadata":{"index":0,"custom":true}}}},"runtime":{}}},"pins":{}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","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":"Nwivz4XK7","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","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":"Comment","description":"Leave a comment."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"data":{}},"outputs":{"extensible":false,"data":{}},"runtime":{},"display":{},"comments":{"title":"","markdown":"Do more stuff here >>> :)"}}},"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":"HNOojdAucZz","branches":{},"node":{"key":"expand","data":{"name":"-0Ru1J-H98"},"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":"-0Ru1J-H98","description":"Pick a set of keys out of an object with lists of keys."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"data":{"ZKYcYIEdgbV":{"id":"ZKYcYIEdgbV","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":"-0Ru1J-H98","srcOutputId":"hnJVcoGiG1I"},"flags":"d"}}},"outputs":{"extensible":true,"groupRules":{"*":{"type":"object","reserved":{"key":{"types":["string"],"collection":"*"},"value":{"types":["*"],"collection":"*"}},"extensible":false}},"data":{"3lCX7NPC7V0":{"id":"3lCX7NPC7V0","group":"EFrXnEQ714e","key":"key","value":{"error":false,"type":"string","collection":true,"data":["Alternate ID"],"available":[]},"ref":true,"metadata":{"path":["Alternate ID"],"srcMethodId":"-0Ru1J-H98","srcOutputId":"hnJVcoGiG1I"}},"oizhu2sfs2z":{"id":"oizhu2sfs2z","group":"EFrXnEQ714e","key":"value","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"path":["Alternate ID"],"srcMethodId":"-0Ru1J-H98","srcOutputId":"hnJVcoGiG1I"},"_used":true}}},"runtime":{}}},"pins":{"oizhu2sfs2z":{"N3u5h3igK":[{"input":"lTABC-tIgE3","transform":null}]}}}],"model":{},"orderings":{"KX8D-XtWZH":["-0Ru1J-H98","N3u5h3igK"],"ipNzNIk59M":["N3u5h3igK","fkwNhDsv6"],"zn7wKy8TFU":["fkwNhDsv6","cCj8L0nOx"],"OrJhuDSOQr":["cCj8L0nOx","Nwivz4XK7"],"2KVBN7XReug":["-0Ru1J-H98","HNOojdAucZz"],"jY9pNLt6-Sl":["HNOojdAucZz","N3u5h3igK"],"3ZWuBgKqK7J":["HNOojdAucZz","HNOojdAucZz"]},"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"},"zxIetIiVOZ":{"id":"zxIetIiVOZ","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":{"x3eZaQaQW":["RAxHAvd4T","O_z59aQCfU"]},"cron":{},"security_level":null,"log":true,"inheritLog":true,"scheduled":false,"group":"7c3af9a7-5d92-41aa-a96b-c3bf75068872","templateName":null,"connector_method_meta":{"inputs":{},"outputs":{},"options":{}},"monitor_flo":false}}},"configs":{"8d22664a-b045-43b6-ad42-585496495437":{"id":"8d22664a-b045-43b6-ad42-585496495437","name":"Slack OKTA123","module":"slack","data":null},"5bfcb565-a50f-488b-957d-56776c52fd1f":{"id":"5bfcb565-a50f-488b-957d-56776c52fd1f","name":"Okta Preview","module":"okta","data":null}},"tables":{},"groups":{"7c3af9a7-5d92-41aa-a96b-c3bf75068872":{"id":"7c3af9a7-5d92-41aa-a96b-c3bf75068872","data":{"name":"Shared Folder","description":"","media_uri":""}}}},"checksum":"9cf7812a233c8ac72b883e6a92cf0b20f4b560ecf489ff49b8a2e7c111aa6a89"}
Download steps:
  • right click "view raw" in the panel above on the right
  • click "Save Link As"
  • be sure the filename ends in .flow

Hope this helps! Find me on LinkedIn or shoot me an email if you have any questions.

You can also join us at a Community Office Hours session to work through problems and ask questions - I'd love to see you there.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay