Send Daily Astronomy Pictures to Telegram with n8n

Discover how to automate sending NASA’s Astronomy Picture of the Day directly to your Telegram channel with n8n. This workflow saves you time by delivering daily space photos and captions automatically without manual intervention.
cron
nasa
telegram
Workflow Identifier: 1426
NODES in Use: Cron, NASA, Telegram

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Workflow Does

This workflow automatically fetches NASA’s Astronomy Picture of the Day every day at 8 PM and posts the image with its title caption directly to a Telegram channel. It saves time by removing the need to download and upload pictures manually. With this automation, the Telegram channel always has fresh space photos without daily effort.

The automation hits NASA’s API to get the image URL and title. Then, it sends a photo message to Telegram using the bot linked to the target channel. This keeps the channel active and engages the audience regularly.


Who Should Use This Workflow

Anyone who shares NASA’s daily space images on a Telegram channel and wants to stop doing it by hand. This workflow is ideal for non-technical users who want to save about 15 minutes daily and avoid forgetting to post. It needs basic setup of a NASA API key and a Telegram bot with admin rights in the channel.


Tools and Services Used

  • NASA API: Provides Astronomy Picture of the Day data (image URL and title).
  • Telegram Bot API: Sends photos and messages to Telegram channels.
  • n8n Automation Platform: Runs all workflow nodes including Cron, NASA, and Telegram nodes.

The Twitter node is not used here. You should use self-host n8n or n8n cloud to run this workflow reliably every day.


Beginning Use: How to Run This Workflow in n8n

Importing the Workflow

Step 1: Download Workflow File

  1. Click the Download button on this page to get the workflow file.

Step 2: Import into n8n

  1. In the n8n editor, use Import from File to load the saved workflow file.

Configuring After Import

Step 3: Add NASA API Credentials

  1. Go to the NASA node and add your valid NASA API Key in credentials.

Step 4: Set Telegram Chat ID and Bot Credentials

  1. Open the Telegram node and set the Telegram channel Chat ID (e.g. -485365454).
  2. Make sure the Telegram bot credentials are added, and the bot is admin in that channel.

Testing and Activation

Step 5: Test the Workflow

  1. Run the workflow once manually to check if NASA image posts correctly to Telegram channel.

Step 6: Activate for Daily Use

  1. Turn on activation at the top right in n8n editor. This runs the workflow every day at 8 PM automatically.

Make sure n8n server or cloud instance where the workflow runs is using the correct timezone set in the Cron node.


Inputs, Processing, and Outputs

Inputs

  • Triggers daily at 8 PM by the Cron node.
  • NASA API provides the Astronomy Picture of the Day data (image URL and title).
  • Telegram channel Chat ID and bot credentials provided by user.

Processing

  • The Cron node fires the workflow at set time.
  • The NASA node requests the APOD data without downloading image locally.
  • The Telegram node sends the APOD image URL as a photo message, using the title as a caption.

Outputs

  • The Telegram channel receives a photo with a caption of the day’s Astronomy Picture.
  • The channel stays updated daily without manual posting.

Common Problems and Fixes

  • Telegram “Invalid Chat ID” error: Usually caused by wrong chat ID format or the bot missing admin rights. Fix by adding a hyphen before the chat ID (channels need a negative ID) and verify bot is admin.
  • NASA node authentication errors: Occur if the API Key is missing or incorrect. Double-check your NASA API Key in n8n credentials.
  • No image appearing in Telegram: Ensure the NASA node is not set to download the file. It should provide a URL for Telegram node to send.
  • Workflow not running at expected time: Confirm Cron node timing and n8n server timezone match your target time (8 PM).

Customization Ideas

  • Change the posting time by editing the Cron node hour value.
  • Add a Telegram sendMessage node before sending photo to post a greeting or extra text.
  • Turn on Download in the NASA node to save images locally and send via a file node instead of a URL.
  • Modify the Telegram node’s caption to add hashtags, date, or more information.

Summary

✓ Posts NASA Astronomy Picture of the Day automatically every day at 8 PM.
✓ Saves about 15 minutes daily by removing manual download and upload.
✓ Keeps Telegram channel fresh and audience engaged regularly.
✓ Uses NASA API and Telegram Bot via n8n nodes.
✓ Easy to set up with basic API keys and bot permissions.
✓ Runs reliably with scheduled Cron trigger in n8n.


Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free