Skip to main content

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

Workflow preview

Workflow preview
100%
Create daily prayer and sunnah fasting reminders in Google Calendar using Aladhan API preview
Open on n8n.io

1. Workflow Overview

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: • Dai...

Best for

  • Personal Productivity automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlecalendar, n8n-nodes-base.code, n8n-nodes-base.set, n8n-nodes-base.merge, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ARofiqi Maulana.

Original n8n.io source

1.1 Workflow description

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

🕌 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 & evening dhikr (Doa Pagi & Petang) • 🌙 Sunnah fasting reminders (Ayamul Bidh – 13, 14, 15 Hijri)

To prevent duplicates 🔍, it compares generated events with existing calendar entries 📅 and only creates new ones if they do not already exist ✅

⚙️ Setup steps • Set your location (city & country) in the Set City and Country node • Connect your Google Calendar account • Adjust the schedule trigger if needed (default: daily) • Activate the workflow

Setup takes less than 5 minutes ⏱️

⚠️ Notes • This workflow uses the Aladhan API for prayer times and Hijri date conversion • Timezone is set to Asia/Jakarta (you can adjust it if needed) • Detailed logic and explanations are available inside the workflow using sticky notes

💡 Tip

Perfect for building consistent daily worship habits using automation 🤖

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Create an event

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 3 - reformat prayer

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - merge

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Set City and Country

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Get Today Event

Type / Role
n8n-nodes-base.googleCalendar - googleCalendar
Config choices
Version 1.3

Block 7 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 8 - IF Event Do not Exist

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note10

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Fetch Prayer Data

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 20 - get hijri date

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 21 - detect ayamul bidh date

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Create daily prayer and sunnah fasting reminders in Google Calendar using Aladhan API
Complexity advanced
Nodes 22
Categories Personal Productivity
Author ARofiqi Maulana
Published 16 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15101/15101.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create daily prayer and sunnah fasting reminders in Google Calendar using Aladhan API do?

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: • Dai...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Personal Productivity use case.