Templates / Create daily prayer and sunnah fasting reminders in Google Calendar using Aladhan API

Create daily prayer and sunnah fasting reminders in Google Calendar using Aladhan API

Ready for 3.0

by ARofiqi Maulana ✓ · 57 views · created 2026-04-16 · Personal Productivity

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs on a schedule (every day at 01:00). Along the way it connects Google Calendar. It also calls api.aladhan.com over HTTP.

How it runs

Trigger: On a schedule (every day at 01:00).

  1. Set City and Country (Edit Fields (Set)): sets 4 fields: city, country, end_day…
  2. Fetch Prayer Data (HTTP Request): calls an HTTP API
  3. Get Today Event (Google Calendar): get many
  4. reformat prayer (Code): runs custom JavaScript code
  5. Merge: merges the data from its input branches
  6. get hijri date (HTTP Request): calls api.aladhan.com
  7. If: checks a condition and branches into true / false
  8. detect ayamul bidh date (Code): runs custom JavaScript code
  9. Create an event (Google Calendar): uses Google Calendar
  10. merge (Code): runs custom JavaScript code

Services it uses

Google Calendar

HTTP calls to: api.aladhan.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

From the author

🕌 How it works This workflow automatically creates daily Islamic reminders in your Google Calendar based on your location 📍 It fetches real-time prayer times 🌐 and generates events for: • 🕌 Daily prayers (Subuh, Dzuhur, Ashar, Maghrib, Isya) • 🤲 Morning…

Excerpt from ARofiqi Maulana's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.