Body of invokeurl, from Zoho Flow, is being received as NULL

Body of invokeurl, from Zoho Flow, is being received as NULL

I have the following simplified Zoho Flow function:

  1. headers = Map();
  2. headers.put("Content-Type","application/json");
  3. res = invokeurl
  4. [
  5. url :"https://sandbox.zohoapis.com/crm/v2/functions/flow_to_queue_portal_task/actions/execute?<api_key_stuff>"
  6. type :POST
  7. parameters:{"FOO":"BAZ"}
  8. headers:headers
  9. ];
The function on the receiving end of this invokeurl, `flow_to_queue_portal_task(String paramsMap)` says the following:
  1. return "FOO " + paramsMap;
The output returned in the first function's `info` is:
  1. {
       code : "success",
       details : {
          output : "FOO null",
          output_type : "string",
          id : "712085000000252005"
       },
       message : "function executed successfully"
    }
Why is my parameters body being received as `null`?
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      • Topic Participants

      • McKay

      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 コンテンツ




                              ご検討中の方