Skip to main content
All CollectionsToolsExamples & Templates
[Workaround] Chaining prompts in Promptitude with tools
[Workaround] Chaining prompts in Promptitude with tools
Promptitude Team avatar
Written by Promptitude Team
Updated over a week ago

Streamline your processes and enhance the accuracy and efficiency of your tasks. Let's explore how you can leverage this workaround to optimize your workflow, especially when dealing with tasks like translations.

What are Chained Prompts?

Chaining prompts in Promptitude allows you to connect different functionalities seamlessly. Think of it as creating a multi-step process where the output of one prompt serves as the input for another. This method is particularly useful when tasks require a series of actions before reaching the final output.

Benefits of Chaining Prompts

  • Efficiency: Automate multiple steps into a single workflow, saving time and reducing manual intervention.

  • Accuracy: Each prompt in the chain refines the output, ensuring higher quality results.

  • Scalability: Easily add more prompts to the chain as your needs grow or change.

Using Prompts as Tools

In Promptitude, a Tool is essentially a prompt configured to call an external API. This setup is crucial for extending the functionality of your prompts beyond the platform.

Here’s how you can transform a standard prompt into a tool:

  1. Create a Prompt (A): Start by developing a prompt that performs a basic function, like checking grammar and spelling.

  2. Configure as a Tool: In the Integrate tab of other prompt, include the external API code. This step transforms your prompt into a tool.
    Learn step-by-step how to set up a prompt as a tool.

  3. Chain the Tool (B+A): You can now add this tool to another prompt, chaining their functionalities together.

🔹 Example: Creating a Translation Workflow

Let’s put this into practice with a translation task:

Grammar and Spelling Prompt: First, create a prompt that checks the grammar and spelling of a text. This prompt will later use the new tool.

PROMPT A

Translation Prompt=Tool: Develop another prompt that translates text, for instance, from English to Spanish. Convert the prompt into a Tool (start with Promptitude Template), by calling the Promptitude API Key.

Learn step-by-step how to set up a prompt as a tool.


PROMPT B

Integrate the Tool: In the grammar and spelling prompt, add the translation tool. Now, when the translation is done, the prompt automatically checks and corrects the grammar and spelling of the translated text via tool.

Note: 📌 In order to adding the Tool to your prompt, you must specify its functionality step by step. First use the Tool, then do the task of the current prompt.

For example:

  • First, translate the text below into Spanish using the Translate via Promptitude tool, then check the translated text for grammar and spelling errors.

This chaining ensures that the translated text is not only in another language but also grammatically correct and polished.

Now it's your turn! Experiment with your prompts—generate a blog post and transform it into a social media post, or create a help article and turn it into a video script.

Anything is possible!

Did this answer your question?