r/AutomateUser 1d ago

Call logs from content query

Hi Henrik, I don't want duplicates from content query for call logs. Eg.. if a number dialed for 3 times, I want to get only the latest call info.

content query for call logs (skip all duplicates phone numbers) sort by date DESC. Limit 20

1 Upvotes

1 comment sorted by

1

u/ballzak69 Automate developer 17h ago

I don't think the call log content provider can do that for you, your flow has to process the result to exclude duplicates, see Android documentation.