Figured out Workato recipe with Python node to reduce the scope of the original anthology flow.

This commit is contained in:
Norm Rasmussen
2023-11-05 20:52:25 -05:00
parent 2912377102
commit 1342c10ac8
29 changed files with 2040 additions and 595 deletions

View File

@ -12,12 +12,12 @@ const fetch = require("node-fetch")
exports.main = async ({ user_email }) => {
let all_domains = [
'@newanthology.com',
'@knowledgestate.edu',
'@creighton.edu',
'@tc.columbia.edu',
'@mstc.edu',
'@gvltec.edu',
'newanthology.com',
'knowledgestate.edu',
'creighton.edu',
'tc.columbia.edu',
'mstc.edu',
'gvltec.edu',
]
let user_domain = user_email.slice(user_email.indexOf('@'));