How can I have a custom function return a list of variables?

How can I have a custom function return a list of variables?

Hi,

Still learning Deluge and Zoho Flow. Also, I'm not a programmer. Be gentle. ;-)

I would like use the return of a custom function to offer a dropdown when you catch a webhook. Is that possible?

drop down of webhook


A bit of context. I am trying to return the Zoho Account after searching for a specific field.

  1. list find_zaccount_from_iugu_subscription_id(string iuguSubscriptionId)
  2. {
  3. criteria = "(Iugu_ID:equals:" + iuguSubscriptionId + ")";
  4. response = zoho.crm.searchRecords("Accounts",criteria);
  5. //pick first record
  6. response = response.get(0);
  7. return response;
  8. }
Do I have to convert the response to a map? A JSON string? A XML? Something else?
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      Zoho CRM Plus Resources

        Zoho Books Resources


          Zoho Subscriptions Resources

            Zoho Projects Resources


              Zoho Sprints Resources


                Zoho Orchestly 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




                          Zoho Writer Writer

                          Get Started. Write Away!

                          Writer is a powerful online word processor, designed for collaborative work.

                            Zoho CRM コンテンツ




                              ご検討中の方