WorkflowTelegramOpen

Optimize Prompt

Triggered manually or by an app event. Connects Code, Stop And Error, Telegram. Trigger - Trigger can be anything. For this example the trigger is a call from another workflow and a received Telegram message. - Note that this workflow can be integrated in the middle of another larger workflow. Inference / Optimization - Incoming trigger is processed by a LLM with a specific system prompt set aimed

Front matter
name: Optimize Prompt
description: Triggered manually or by an app event. Connects Code, Stop And Error, Telegram. ## Trigger - Trigger can be anything. For this example the trigger is a call from another workflow and a received Telegram message. - Note that this workflow can be integrated in the middle of another larger workflow. # Inference / Optimization - Incoming trigger is processed by a LLM with a specific system prompt set aimed at improving the input prompt. # Improved prompt: - Send as a response - Use as input for next nodes # Workflow Documentation ## Description: This workflow is designed
category: Automation
kind: Workflow
software: Code|Stop And Error|Telegram

Optimize Prompt

Triggered manually or by an app event. Connects Code, Stop And Error, Telegram. ## Trigger

  • Trigger can be anything. For this example the trigger is a call from another workflow and a received Telegram message.
  • Note that this workflow can be integrated in the middle of another larger workflow. # Inference / Optimization
  • Incoming trigger is processed by a LLM with a specific system prompt set aimed at improving the input prompt. # Improved prompt:
  • Send as a response
  • Use as input for next nodes # Workflow Documentation

Description:

This workflow is designed

Steps

  • When Executed by Another Workflow (executeWorkflowTrigger)
  • AI Agent (noOp)
  • Telegram3 (telegram)
  • OpenAI Chat Model (noOp)
  • Split into chunks1 (code)
  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Simple Memory (noOp)
  • Sticky Note3 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Error Handler (stopAndError)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source: https://github.com/Zie619/n8n-workflows/blob/main/Telegram/1877_Telegram_Stickynote_Automation_Triggered.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.