<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007uWXLbCAOOkta Identity EngineWorkflowsAnswered2024-04-25T15:43:26.000Z2022-08-05T17:50:00.000Z2022-08-08T22:11:24.000Z

SamS.06423 (AAA Life Insurance Company) asked a question.

Workflow - AWS S3 JSON file to List

We have an AWS S3 bucket that contains a json file. I would like to Download that file and transform into a list in a flow. The download object card from AWS S3 functions and I can open the file on my workstation. Is there a way to transform that downloaded json file into a List?


  • Hi @SamS.06423 (AAA Life Insurance Company)​ -

     

    Once you download a file into Workflows, you can't "open" it within the system - the main things you'll be able to do are things like send the file as an email attachment, upload it to Box or another service, etc.

     

    I'd suggest you look at perhaps using the AWS Lambda connector, or the Custom API action in the S3 connector to see if you could just return a JSON payload. You should be able to invoke a function that will return your JSON payload.

     

    Outside of that, you can manually copy/paste the JSON that you're downloading into a Workflow and use the functions to manipulate data, but in terms of pulling your data directly into a Flow from S3, I'd look at the suggestions above.

    Expand Post
    Selected as Best
  • flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery)

    Hi @SamS.06423 (AAA Life Insurance Company)​,

     

    Thank you for posting on the Okta community page!

     

    I am not sure I have fully understood the use case of the question, but I have done some research and you have the capability to parse a JSON file into a workflows list. I have provide bellow a documentation about a function card that might help you with your inquiry:

     

    On another note, the Okta Community Catalysts Program is now live. Collect online badges when you participate in the Okta Help Center Questions community. Learn more here.

    Expand Post
  • Hi @SamS.06423 (AAA Life Insurance Company)​ -

     

    Once you download a file into Workflows, you can't "open" it within the system - the main things you'll be able to do are things like send the file as an email attachment, upload it to Box or another service, etc.

     

    I'd suggest you look at perhaps using the AWS Lambda connector, or the Custom API action in the S3 connector to see if you could just return a JSON payload. You should be able to invoke a function that will return your JSON payload.

     

    Outside of that, you can manually copy/paste the JSON that you're downloading into a Workflow and use the functions to manipulate data, but in terms of pulling your data directly into a Flow from S3, I'd look at the suggestions above.

    Expand Post
    Selected as Best
This question is closed.
Loading
Workflow - AWS S3 JSON file to List