Help me with this widget updation

Here is my preset i can’t figure out how to make the quote change every hour.

Here is the txt file which is read by the flow.

Hi there,

The Google Drive link cannot be accessed.

TIPS on uploading & downloading a Kustom preset file

Before uploading a Kustom preset (KWGT, KLWP, or KLCK), add a .zip suffix to the filename so that it can be downloaded.
Example: test.kwgttest.kwgt.zip

Here

You shared the link to sign in to Google Account, not the link to the file.

Since I am new here I can’t share file can u please give me ur email id so I can share

It’s okay, I’ll make a new widget for you.

Please correct me if I’m wrong:

  • You want a widget that show a random quote
  • The random quote will be updated every hour
  • The source of the random quote is a text file (ie. quotes.txt)

:smiling_face: :+1:

@Afellowcookie :

Hi there,

Here’s the KWGT preset I just made, it will show a random quote.

  • The source of the quotes is a text file (pick the filepath from inside the Flow)
  • The Flow will run automatically every hour, or manually by tapping the quote text, the Flow will re-read the source file and store its contents into the global variable quotes
  • The displayed random quote will be refreshed with a new one every N minutes (it is defined by the global variable timer ➞ 0…60 numerical value)

File structure for the quote file

  • 1 quote in every line
  • Quote data format in each line: quote_text|author_name

Example of quote source (2 lines of quotes):
Visible confusion|Obi-Wan Kenobi
I am your father|Darth Vader

TIPS • Random Quote

After downloading the file, rename the file (remove the .zip suffix from the filename)

I hope this would help.
Did you find the most helpful response to your issue?
Please kindly press the :check_box_with_check: Solution button to mark it as the solution.
This would help others with the similar issue.

:smiling_face::+1:

Thank you so much for information