Bot to run through all chats

Hi, I’m designing a bot which will read the queue items and then in a chat app it will take first item(for ex “hello”) type in the search box and all the chats which contains that specific keyword will appear. So next i have to open the chat, copy the content and paste in the excel. This i have to do for every conversation. Can anyone help me out how can i run through all the chats which will display in the app?


Try using for each ui element…this will loop through each chat and can performrequired actions on eqch chat inside the loop

Hope this helps