While working on your app, if you find that you no longer need a particular prompt in the workflow, you can simply delete it. Deleting a prompt can help streamline your workflow and ensure that only relevant steps remain in the process.
Steps to Delete a Prompt:
Open Your App Editor:
- Navigate to the app you’re currently building.
- Locate the section where all your prompts are displayed.
Identify the Prompt:
- Scroll through the workflow and find the specific prompt(s) that you want to remove.
- Click the checkbox on the prompt(s) to select it.
Access the Delete Option:
- Look for the delete or trash icon in the prompt’s options menu header.
- Alternatively, locate the trash icon on the right-end of the individual prompt and click to Delete.
Confirm Deletion:
- A confirmation message may appear to ensure that you want to delete the prompt.
- Click Confirm or OK to proceed.
⚠️ Important: Deleting a prompt is irreversible. Once deleted, all associated data and conditions linked to that prompt will also be removed from the workflow.
Impact of Deleting a Prompt
- Break in Workflow: If the deleted prompt was connected to other prompts, make sure to review your workflow. You may need to reconnect or adjust other prompts to maintain a smooth flow.
- Loss of Conditions/Actions: Any conditions, branching logic, or actions linked to the deleted prompt will no longer be triggered.
Troubleshooting Tips
- Accidentally Deleted a Prompt?
- If you accidentally delete a prompt, consider manually recreating it. Unfortunately, deleted prompts cannot be restored automatically.
- Workflow Not Behaving as Expected?
- Double-check the connections and conditions after deleting a prompt.
- Make sure the remaining prompts follow the intended logic.
FAQs
Q: Can I restore a deleted prompt?
A: No, once a prompt is deleted, it cannot be recovered. You will need to recreate it manually if needed.
Q: What happens to conditions linked to a deleted prompt?
A: All conditions and actions connected to the deleted prompt will be removed. Review the workflow to ensure that no critical actions are affected.
Q: Does deleting a prompt affect API costs?
A: Deleting unnecessary prompts may reduce API calls, which could result in lower costs, depending on the prompt’s function.