
JacksonK.52224 (Customer) asked a question.
Hi there
I'm trying to create an automated onboarding for a new account. I created a scheduled flow to run every day. What it should do is read through the column of a google sheet titled "start date" and then when it matches the day it currently is, it should pick up the row and read the information on it, and create the account from that information.
I am however stuck on two things:
- when I select the date function, the date's format for "now" is not as simple as month/day/time. So far it fails to pick up any rows from the google sheet column, which is in YYYY-MM-DD fromat:
- (or rather 2 because of formating) I don't know what to do with the output IF the flow was able to search the column in google sheets. When I create an app action, I expect it to read the row, but I can get the "list" from the output in Column to the "Number" field in Read Row. Is there a way to get the row number from the Rows output?

@JacksonK.52224 (Customer)
Okay. So for the first part of this use case:
Is there a reason you are not leveraging the Google Sheets "Event" card action called: New Row? This allows you to set a schedule on how often it checks and will return all new rows from the last time it ran.
Search Column is EXTREMELY inefficient as Google's API really doesn't have a search functionality. We essentially made a card that reads in the entire sheet into memory and then searches it. As the sheet grows the search can take quite a long time. I really don't recommend it's usage unless there is no other option.
For the second part of this same use case:
Most of the time when you have a list (JSON array) and you want to perform an action against "Each" item in the list you need to pass it through a for each card to process each item in a Helper flow. The Helper flow then contains the processing logic (such as: Making API calls to Okta or a Third-Party to create a user, update some profile attributes etc.)
I suggest doing something simple like:
Create a Helper flow (make sure history is on):
Then create a Parent flow (make sure history is on):
Then if you [Test] the flow you can see how it works by reviewing the history. Play around with "mock values" to learn usability then integrate it into your actual flow structure.