Example of prompt to loop logic
- Updated: 2024/06/18
Example of prompt to loop logic
Developers can use Co-Pilot for Automators to quickly build loop logic in bot automation using natural language in an instructional prompt.
This example demonstrates designing a prompt to build a bot automation that loops through emails and saves contact details of each sender in an Excel file. Notice that after the prompt is entered, Co-Pilot for Automators automatically generates and sequences the necessary actions and iterator type in a structure for you to verify and complete by setting values for your individual use case.
This example intends to demonstrate the experience and steps to take when applying Co-Pilot for Automators to developing loop logic. The results from more sophisticated prompts, generating more complex scenarios, do require examination with attention to detail to ensure results match expectations. Any generated variables and connections follow default labeling when interpreted by the language used in your prompt.