ManualTrigger Automate

Used in ManualTrigger Automate, this workflow automates data retrieval and communication by reading and writing binary files, fetching updates from an API every 10 minutes, and sending notifications via Telegram. It streamlines the process of syncing and sharing important information, ensuring timely updates and efficient communication.

7/8/2025
11 nodes
Medium
schedulemediumwritebinaryfilereadbinaryfiletelegrammovebinarydatafunctionitemautomationadvancedfilesstorageapiintegrationcommunicationbotcodecustom
Categories:
Communication & MessagingSchedule TriggeredBusiness Process AutomationMedium Workflow
Integrations:
WriteBinaryFileReadBinaryFileTelegramMoveBinaryDataFunctionItem

Target Audience

This workflow is ideal for:
- Content Creators: Individuals who need to automate the process of saving and sharing articles from Readwise.
- Social Media Managers: Professionals looking to streamline their content sharing process to platforms like Telegram.
- Developers: Those who want to integrate Readwise articles into their applications or systems without manual intervention.
- Tech-Savvy Users: Users who are comfortable with automation tools and want to enhance their productivity.

Problem Solved

This workflow addresses the challenge of manually tracking and sharing updates from Readwise. By automating the retrieval of new articles and sending them directly to a Telegram chat, it ensures that users stay updated without the need for constant manual checks. The workflow also maintains a record of the last synced time, allowing for efficient data management.

Workflow Steps

  • Triggered Execution: The workflow can be initiated either manually or on a schedule (every 10 minutes).
    2. Read Binary File: It reads the last synced data from a specified file, ensuring that only new updates are fetched.
    3. HTTP Request: It sends a request to the Readwise API to retrieve new articles that have been updated since the last sync time.
    4. Split into Batches: The workflow processes the retrieved articles, filtering them to include only those categorized as 'article' and without children.
    5. Set New Update Time: The current timestamp is recorded to prepare for the next sync.
    6. Convert Data: The articles are converted into a binary format for storage.
    7. Write Binary File: The new data, along with the last synced time, is written back to the specified file.
    8. Send to Telegram: Finally, the articles are formatted and sent as messages to a specified Telegram chat, keeping users informed of new content.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the file path in the Config node to change where the last synced data is stored.
    - Adjusting the Telegram chat ID to send updates to a different chat.
    - Changing the HTTP Request URL or query parameters to fetch data from different APIs or endpoints.
    - Altering the filter criteria in the Split into Batches node to include or exclude specific types of articles.
    - Adjusting the cron settings to change the frequency of updates, allowing for more or less frequent checks.