List from Text File

Hi there

Just wondering if anyone could point me in the direction of how to achieve this.

I want to be able to ask for input from a list, but have the list generated from a text file, each row of the text file will contain email address?

Thanks

Chris

Try this.

It writes an example file, gets it back from storage, gets the text content, splits it by line, offers the user a choice from the split text, and finally shows which option was selected.

Hope that helps.

1 Like

So Simple!!!

Does SHortcuts have the ability to take the text file from an url, for example if I was to store the file in AWS S3 or onedrive or share by link?

Thanks in advance

Easily, if you can access the file via a public link. Take a look at the Get Contents of URL action.

Private links requiring authentication are more challenging to work with.