Zoho Sheets find next available piece of data

Zoho Sheets find next available piece of data

Hi - Looking to see if anyone has done something similar to what I'm looking for. I'm pretty sure it can be done but I'm struggling to find the time to run through all the scenarios to test my theory.

I have a list of discount codes that I want to be able to apply to a CRM record when a certain action happens.
My plan is to put a list of codes into Zoho Sheets. Have a column for Allocated. When the CRM criteria is met Zoho Flow finds the first row where the "Allocated" column is blank and identifies that row and allocates the code and updates the allocated column to indicate it has been allocated.

I know Zoho Sheets can retrieve a row based on criteria. What I don't know is if it will always return the first row that meets that criteria, and if there are things I need to plan for.

Sharing of experience would be much appreciated.

Sally




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now