Help with Automating Completion Count in Note Properties via Tasks Plugin

Hello everyone,

I’m currently working with the Tasks plugin in Obsidian to manage my daily tasks, and I’ve encountered a bit of a workflow snag that I’m hoping to get some help with.

Each day, I have a note with a properties section that includes a field for Completed_Tasks. I manually update this field with the number of tasks I’ve completed that day. The Tasks plugin nicely shows me the count of completed tasks, but I’d like to automate the process of updating the Completed_Tasks field in my daily notes frontmatter.

Here’s what I’m looking to achieve:

  • Automatically update the Completed_Tasks field with the number of tasks completed as shown by the Tasks plugin.
  • Ideally, this update would happen at the end of the day or could be triggered manually.
  • I need this to be reliable, even if there are no tasks completed (so the field should reflect ‘0’ in that case).


Has anyone in the community worked on something similar, or could you point me toward a plugin or script that might help with this? I’m open to trying out different solutions, and although I’m not a programmer, I’m willing to explore any guidance or resources you can provide.

Thank you so much for your help!

Best regards,

Tiago