Quick overview
This workflow runs every two hours to check the n8n public Templates API for the latest workflows in a chosen category, tracks which template IDs have already been seen using workflow static data, and posts a Slack digest when new templates appear.
How it works
- Runs on a schedule every 2 hours.
- Loads configuration values such as the template category slug, the Slack channel, how many templates to check, and whether to report when none are new.
- Calls the n8n Templates search API to fetch the most recent templates for the configured category.
- Extracts key metadata (ID, title, description snippet, creator, date, and URL) from the API response.
- Compares the fetched template IDs against previously seen IDs stored in workflow static data and updates the cache with the latest IDs.
- If new templates are found, formats a Slack digest and posts it to the configured Slack channel.
- If no new templates are found and reporting is enabled, posts a “no new templates” all-clear message to Slack.
Setup
- Add Slack credentials in n8n with permission to post messages to your target channel.
- Update the Configuration values for categorySlug and slackChannel (and optionally templatesToCheck and reportEvenIfNone).
- Ensure the chosen category slug exists in the n8n marketplace (you can verify via https://api.n8n.io/templates/categories) and activate the workflow knowing the first run treats all fetched templates as new.