Edit tab - Direct prompt editing
Edit the raw agent instructions directly
Related lesson
Create an AI sales agent for WhatsApp
Create your sales agent and configure the basics.
The Edit tab shows the complete prompt in a dark code editor. Control every word of the instructions: make precise changes, add entire sections or review text generated in Chat.
Step-by-step guide - Edit the prompt directly
In My AI agent, click the Edit tab with the code icon
The editor shows the current prompt in green text on a black background. All content is editable. Changes are not saved automatically; save them manually.
✓ The editor displays the current formatted prompt, ready to edit.
Click the text in the editor and make your changes
Use the editor to add product sections, change prices or tone, add FAQs and specify conversation flows. This text is the agent's manual. Richer context helps produce better results.
✓ You can edit the text at the cursor and see changes as you type.
Scroll down and click Save with the disk icon
You must click Save after editing. Closing the tab without saving loses the changes. The system validates the prompt when it is saved.
✓ The prompt is saved. A confirmation appears at the top of the screen.
Open the Simulator and test the changes
Always test after editing: an opening greeting, a price question, an out-of-scope request and a request for sensitive information.
✓ The simulator now uses the updated prompt. Test at least 5 different scenarios.
Recommended prompt structure:
- •Section 1 - Identity: agent name, role, company and tone of voice.
- •Section 2 - Business context: what you do, differentiators, location and opening hours.
- •Section 3 - Products/services: complete list with names and prices.
- •Section 4 - Behavior rules: what the agent should and should not do.
- •Section 5 - Service flow: how to guide the conversation from greeting to closing.
- •Section 6 - Standard replies: how to answer frequently asked questions.
Tip: For long prompts, use Chat for small changes and Edit for complete structural reviews. A useful split is 80% built through Chat, with AI editing for you, and 20% manual fine-tuning in Edit.
Note: Be careful not to remove entire prompt sections accidentally. If it happens, use 'History' in Chat to restore a previous version.
Related tags:
Ready to get started?
Create your free account and automate customer service on WhatsApp today.