HttpRequest Automate

Automate notifications on Discord using the HttpRequest Automate workflow, which checks GitHub notifications every minute. It retrieves updates, formats them, and sends alerts only when there are new notifications, ensuring timely communication without manual effort.

7/8/2025
6 nodes
Complex
schedulecomplexdiscordautomationapiintegrationcommunicationbotcodecustomlogicconditional
Categories:
Communication & MessagingSchedule TriggeredComplex Workflow
Integrations:
Discord

Target Audience

Who should use this workflow


- Developers looking to automate notifications from GitHub to Discord.
- Team Leads wanting to keep their teams updated on GitHub activity without manual checks.
- Community Managers managing open-source projects that require regular updates on issues and notifications.
- Automation Enthusiasts interested in integrating multiple services to streamline their workflow.

Problem Solved

What problem does this workflow solve


This workflow automates the process of checking GitHub notifications every 1 minute and sends updates to a specified Discord channel. It eliminates the need for manual checking of notifications, ensuring that users are promptly informed about important activities, thus enhancing communication and productivity.

Workflow Steps

Detailed explanation of the workflow process


1. Trigger: The workflow starts with a Cron node that triggers every 1 minute.
2. Get Date: A Function node calculates the timestamp for 1 minute ago and stores it.
3. Fetch Issues: The workflow then makes an HTTP request to the GitHub API to fetch notifications since the calculated timestamp using the @Get Issue node.
4. Process Notifications: The fetched notifications are processed in another Function node, which formats the notifications into a readable message.
5. Conditional Check: An IF node checks if there are any notifications to report.
6. Send to Discord: If there are notifications, a message is sent to a specified Discord channel, tagging a user for visibility.

Customization Guide

How users can customize and adapt this workflow


- Change Trigger Frequency: Adjust the Cron node to change how often the workflow checks for notifications (e.g., every 5 minutes instead of 1 minute).
- Modify GitHub API Request: Update the URL or parameters in the @Get Issue node to target different GitHub repositories or notification types.
- Customize Discord Message: Edit the message format in the Discord node to include additional information or change how notifications are presented.
- User Tagging: Replace <@userIdForTagging> with actual Discord user IDs to tag specific users in notifications.