'Alteryx - multi-stage workflow to get download links, then download file

I am new to Alteryx and am looking to accomplish as much as what is listed below as possible to download tab-separated files for a given order (Phase 4 is probably the most important):

Phase 1 - view orders:

  • Get base URL from config file and use as environment variable
  • Perform request to API to get list of orders (baseUrl + /api/order) using Download Tool
  • Using either Select or JSON parse tool, extract list of Order names and Ids

Phase 2 - view order datasets:

  • Get base URL from config file and use as environment variable
  • User selects Order Id from list obtained in Phase 1:
  • Perform request to API to get order details (baseUrl + /api/order/{id}/details) using Download Tool
  • Using either Select or JSON parse tool, extract list of Dataset names and Ids for this Order

Phase 3 - view dataset download links:

  • Get base URL from config file and use as environment variable
  • User selects Dataset Id from list obtained in Phase 2:
  • Perform request to API to get order details (baseUrl + /api/dataset/{id}/details) using Download Tool
  • Using either Select or JSON parse tool, extract list of file download links for this Dataset

Phase 4 - download file:

  • Get base URL from config file and use as environment variable
  • User selects file download link from list obtained in Phase 3
  • Perform request to API to download file using Download Tool
  • Save response to user downloads folder

Are there any examples of workflows that do something like this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source