Automated Email Sending Based on Filter in Notion

“I keep a task list in Notion. I need an email to be sent when a completed task has a URL filled in the Properties of type URL. The email sending works, but I can’t manage to set up a filter (it’s sending information about all newly completed tasks).”