MongoDB and Resend: Daily Signups Digest Email Template

A daily digest that counts new records in a MongoDB signups collection and emails the day's total through Resend.

What It Builds

A Schedule trigger fires once a day on the cron and timezone you choose. A MongoDB Connector node in Direct mode counts documents created in the last 24 hours from your signups collection, and a Resend Connector node emails the total to your team. Spojit assembles the whole flow from a single prompt.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow that runs every morning at 8am. Count how many documents were created in the last 24 hours in my MongoDB "signups" collection, then email that daily total to growth@acme.com through Resend with the subject "Daily signups digest".

Connectors Used

  • Schedule trigger - runs the workflow daily on a cron expression in your timezone.
  • MongoDB - counts new documents in your signups collection for the reporting window.
  • Resend - sends the digest email from your verified sending domain.

Customize It

Change the run time in the prompt (for example to 7am or weekly on Mondays), point it at a different collection name, swap the recipient address, or rework the date window. You can also ask for the count broken down by plan or source field, all without writing a second prompt.

Tips

  • Your Resend connection needs a verified sending domain before the digest will deliver.
  • Keep the MongoDB node in Direct mode here: the count is one exact query, so there is no AI cost.
  • Make sure your created-at field is a real date type so the 24-hour window filters correctly.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.