FTP and Slack: New Document Embed Alert Template
A scheduled Spojit workflow that watches an FTP folder, embeds each new file into a searchable Knowledge collection, and posts a Slack message naming the documents that just became available.
What It Builds
A Schedule trigger runs on a cron you choose. On each run, a Connector node lists files in your FTP folder and detects ones that are new since the last run. A Knowledge node in Embed mode adds each new file to a persistent collection so it becomes searchable, then a Slack node posts a single message naming the documents that were just indexed.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow that runs every hour, checks an FTP folder for files that are new since the last run, embeds each new file into a persistent Knowledge collection called "Document Library", and posts one Slack message to the #docs channel listing the names of the documents that just became searchable.
Connectors Used
- Schedule trigger - runs the workflow on a cron interval in your timezone.
- FTP - lists and reads files from the watched folder.
- Knowledge - embeds each new file into a persistent, searchable collection.
- Slack - posts the alert naming the freshly indexed documents.
Customize It
Edit the prompt to change the cron interval, the FTP folder path, the collection name, or the target Slack channel. You can also ask for a file-type filter (for example, only PDFs) or for the message to include a file count.
Tips
- Use Embed into a persistent collection so documents stay searchable across runs; a Transient embed is discarded after a single run.
- Give the Knowledge collection a stable name so later Query workflows can reuse it.
- Keep the FTP credential scoped to the watched folder so the workflow only sees the files you intend to index.