Connection does not exists

Connection does not exists


I'm trying to create a chatbot that on customer email will return the list of orders by this email. For this purpose created zohobot with Plugs that should fetch customer order ids from Zoho CRM by email.

i added code to the SalesIQ Script

  1. orders = zoho.crm.searchRecords('Sales_Orders', '(', 0, 0, {"converted":"both"}, 'zohobot');
    queryMap.put('response', orders);
    return queryMap;

created connection to the ZohoCRM and connected

when trying to save the script I get the error message 

maybe I need somehow another to connect the connection to the script? or what else I need to do to make it works.

thanks in advance

    Zoho Marketing Automation

              Zoho Pagesense Resources

                Zoho SalesIQ Resources

                      Zoho TeamInbox Resources

                        Zoho DataPrep Resources

                          Zoho CRM Plus Resources

                            Zoho Books Resources

                              Zoho Subscriptions Resources

                                Zoho Desk Resources

                                  Zoho Projects Resources

                                    Zoho Sprints Resources

                                      Qntrl Resources

                                        Zoho Creator Resources

                                          Zoho WorkDrive Resources

                                              Zoho Campaigns Resources

                                                Zoho CRM Resources

                                                        Design. Discuss. Deliver.

                                                        Create visually engaging stories with Zoho Show.

                                                        Get Started Now