Cron Automate

For the Cron Automate workflow, automate daily recipe sharing on Telegram by integrating with Airtable. This workflow triggers on a schedule, retrieves random vegan recipes, and sends them along with images to users. It ensures new users receive a welcome message and their chat IDs are stored for future interactions, enhancing user engagement and providing a seamless experience.

7/8/2025
15 nodes
Complex
schedulecomplexairtabletelegramtelegramtriggerautomationadvancedcommunicationbotlogicconditionalapiintegration
Categories:
Communication & MessagingSchedule TriggeredComplex WorkflowData Processing & Analysis
Integrations:
AirtableTelegramTelegramTrigger

Target Audience

Target Audience


- Vegan Recipe Enthusiasts: Individuals looking for daily vegan recipes.
- Telegram Users: People who use Telegram and want to receive automated messages.
- Developers and Automation Specialists: Those interested in creating automated workflows using n8n and integrating with APIs like Airtable and Spoonacular.
- Small Business Owners: Businesses that want to engage customers with daily content through Telegram.
- Food Bloggers: Bloggers who wish to share recipes automatically with their audience.

Problem Solved

Problem Solved


This workflow addresses the challenge of delivering daily vegan recipes to users in an automated manner. It eliminates the need for manual messaging and ensures that users receive fresh content without any effort on their part. Additionally, it helps maintain an updated list of users who have joined the Telegram bot, ensuring effective communication and engagement.

Workflow Steps

Workflow Steps


1. Trigger: The workflow starts on a schedule using the Cron node, which can be set to run daily.
2. Fetch Chat IDs: It retrieves a list of chat IDs from Airtable using the Airtable2 node, which contains users who have subscribed to receive recipes.
3. Set Chat ID: The Set node captures the chat ID for use in subsequent steps.
4. Fetch Random Recipe: The Get recipes from API node fetches a random vegan recipe from the Spoonacular API, ensuring variety.
5. Send Recipe Photo: The Recipe Photo node sends the recipe's image to the user via Telegram.
6. Send Recipe URL: The Recipe URL node sends the title and source URL of the recipe to the user.
7. User Join Handling: When a new user joins the Telegram bot, the Telegram Trigger node captures their details and triggers the workflow to add them to Airtable and send a welcome message along with a recipe.

Customization Guide

Customization Guide


- Change Recipe Type: Modify the API URL in the Get recipes from API and Get recipes nodes to fetch different types of recipes (e.g., gluten-free, vegetarian).
- Adjust Schedule: Update the Cron node parameters to change how often recipes are sent (e.g., every day, week).
- Personalize Messages: Edit the text in the Telegram - Welcome Message and Recipe URL nodes to make the messages more personalized.
- Expand User Data: Add additional fields to the Airtable nodes to capture more user information, such as dietary preferences or recipe ratings.
- Error Handling: Implement error handling by adjusting the continueOnFail settings in Telegram nodes to manage failures gracefully.