Recipe Overview
The Translate GUIDEcx Task Instructions with ChatGPT recipe runs when a task's name contains the text [TRANSLATE]. It will translate the task description using OpenAI and remove [TRANSLATE] from the task name.
Note: This recipe leverages tokens in OpenAI, which incur a cost. You can manage the tokens allocated to each call in Step 3 of the recipe.
Integration Setup
Installing the Recipe
Prerequisites: An OpenAI account.
Ensure that you have a GUIDEcx Connection set up in Recipe Builder.
Install the Recipe.
In the "Community" tab, select the "OpenAI" application to explore associated recipes.Choose the "Translate GUIDEcx Task Instructions with ChatGPT" recipe
Click "Use this Recipe"
Save the recipe to the project of your choosing
➡️ Check out this video to see how you install a recipe from the Community:
Configuring Individual Steps
Step 3 (Translate Text Using OpenAI)
By default the translation is set to translate English into Brazilian Portuguese. The recipe can be adjusted to change the input and output languages in Step 3 (Translate Text using OpenAI) of the recipe.
Follow these steps to change the input and output languages:
Click on the Action.
In the configuration pane, under the setup tab, enter the Output Language in the Output Language field.
In the configuration pane, under the setup tab, enter the Input Language in the Source Language field.
Step 5 (Create Task Note in GUIDEcx)
Step 5 of the recipe adds an internal note to the task indicating that the task instructions have been translated using Open AI. This will be posted as the user with the email address provided.
Follow these steps to provide the User Email that will be used by the recipe to post the note:
Click on the Action.
In the configuration pane, under the setup tab, scroll down to the Input section.
Under data enter the email address of the account you want posting the notes in the User Email Field.
Starting the Recipe
From within Recipe Builder, click the 3-dot menu to the right of each of the three recipes and select "Start Recipe". The integration is now live.
Recipe Testing
Follow these steps to test the recipe:
Add the text "[TRANSLATE]" to the title of a task and save it.
The Recipe should run.
The prompt word should be removed from the title.
The description should be translated to the new language.
An Internal Task Note Should Be Added saying, "The task instructions have been translated using Open AI."
Note: While OpenAI is good for setting a baseline for text. We always recommend that you review what is generate to ensure it is accurate and complete.
We also recommend that you be deliberate about the data you pass into the API, and specifically avoid sending sensitive or protected information.
FAQs
Can I extend these recipes to other Open AI integrations?
Can I extend these recipes to other Open AI integrations?
Yes. These recipes show the basic model for working with the Open AI API and can be extended for other use cases and functionality.