First, you should find human-to-human conversations identical to your interface. Then, identify the functionality's scope and write the dialogues. Make the conversation more complex by writing the dialogues for error handling. Document the conversation logic and relationships between each script.