Zoho Creator - Special field 'Integration' with CRM Potentials - How to get record ID and use to update other fields

Zoho Creator - Special field 'Integration' with CRM Potentials - How to get record ID and use to update other fields

Hi,



I have used the Zoho Creator - built in special field 'Integration' to lookup CRM Potentials in a Form. 

Field name: 'Potential'
Field link name: 'Potential' 

Im trying to get a deluge workflow right that will find the Record Id (Potential ID) from the Potential field as integrated already in the form.

This would then allow updating other fields in the Zoho Creator form by populating the data from CRM record.

So, this deluge scrip works in a workflow if specifying the potential ID:
crmResp = zoho.crm.getRecordById("Potentials",1649349000029264018);
input.Volume_Cubic_Feet = crmResp.get("Volume");

but how can I replace the potential ID with the Integrated Potential field? Have tried things like:

crmResp = zoho.crm.getRecordById(“Potentials”, input.Potential);
crmResp = zoho.crm.getRecordById(“Potentials”, input.Potential_ID);

but can't seem to manage to pull the recordID.

Also looks like there was a change from previous version of Zoho Creator as the Zoho ID field in the properties of the Integration field is not there anymore.

Assistance will be greatly appreciated, thanks and regards