Here we’ll maintain a list of prompts that you can test in Streamline.
Flow Mode
Show me the minimum and maximum number of contacts for all accounts?
Demonstrates how to query aggregate data across related objects in Salesforce. It’s useful for understanding data distribution and identifying accounts with unusual contact counts that might need attention.
Show the number of custom fields on the opportunity object?
Helps you understand the complexity and customization level of your Opportunity object. This is valuable for system analysis and understanding how heavily customized your org is.
Explain type.forName and show how to use it to create a List?
Explores Apex reflection capabilities and dynamic type creation. This prompt demonstrates advanced Apex concepts and shows how to work with types dynamically at runtime.
Modular Mode
Create a class with methods suitable for use in a lead trigger (before insert and update) that maintains data quality for phone numbers. All testing and exercising of the trigger class should be in a separate test class, invoked using an instance method called runAllTests.
Given any phone number string, return it normalized to the format: +[country code] [area code] [groups of 3–4 digits]
- Strip all non-digit characters (except leading +)
- If no country code, assume US (+1) for 10-digit numbers
- Area code = next 2–4 digits after country code
- Remaining digits split into groups of 3–4 from left to right
- Separate all groups with a single space
- Return null if fewer than 7 digits or invalid input
- '415-555-1234' → '+1 415 555 1234'
- '+442079460958' → '+44 20 794 609 58'
- '0033123456789' → '+33 1 234 567 89'
Demonstrates how to create production-ready utility classes with comprehensive test coverage for data quality operations. This prompt generates a complete solution including trigger-safe static methods, proper exception handling, and thorough test assertions that validate all edge cases and formatting requirements.