Can we use getRelatedRecords to access the Actions_Performed inside SalesIQ visits?

Can we use getRelatedRecords to access the Actions_Performed inside SalesIQ visits?

Inside the Leads module, I have the following information when I click on a Lead and see their details.



I am able to get high level information about the Visits module using the following deluge script command:

  1. visit_records = zoho.crm.getRelatedRecords('Visits_Zoho_Livedesk','Leads',record_id);

Now I want to drill down and get information about each individual visit. It has a table called Actions Performed.



I tried using the same getRelatedRecords method using the following:

  1. action_details = zoho.crm.getRelatedRecords('Actions_Performed','Visits_Zoho_Livedesk', visit_record_id);
That didn't work. I got an error:

{"code":"INVALID_DATA","details":{},"message":"the relation name given seems to be invalid","status":"error"}

Has anyone been able to get this information?

Can we call nested getRelatedRecords like this?

Also, do you have any tips for how to do this kind of nested access using Deluge script in general?