Custom actions help

this is the current workflow of my bot, but i am unable to fetch data from json files to get the total number of visits calculated. i need help doing the same there is some issue with the custom actions i am not able to figure out, kindly help