Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Nearest Mosque Finder - n8n Workflow

This n8n workflow automatically finds the nearest mosque for each daily prayer and sends an email notification with its details.

How it works

  1. Daily Trigger:

    • Workflow runs every day at 10:00 AM, before any prayer time.
  2. Get Location & Prayer Times:

    • Fetches the current IP address to determine the country.
    • Uses the country coordinates to retrieve today’s prayer times.
    • Formats the prayer times and loops through each prayer.
  3. Wait Until Prayer Time:

    • For each prayer, the workflow waits until the scheduled time.
  4. Find Nearest Mosque:

    • At prayer time, the workflow gets the current coordinates.
    • Uses Overpass API to search for the nearest mosque.
  5. Send Email Notification:

    • Sends an email with the mosque’s location, name, and website (if available).

n8n Nodes Used

  • Cron (Trigger at 10:00 AM)
  • HTTP Request (IP address, Prayer Times, Overpass API)
  • Function / Function Item (Format prayer times)
  • Wait (Delay until each prayer)
  • Email (Send mosque details)

Setup

  1. Clone the repo:
    git clone https://github.com/<username>/n8n-nearest-mosque-finder-n8n.git

About

This n8n workflow automatically finds the nearest mosque for each daily prayer and sends an email notification with its details.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors