@Saien | Exousia AI
I'm sorry to hear you're experiencing issues with the successEvaluation and structuredData formats. Let's address each concern one by one.
For the successEvaluation not appearing in your end of call report, it's important to ensure that the evaluation process is given enough time to complete before the call ends. To guarantee that it always loads, you might want to check the following:
1. Ensure that the successEvaluation script or function is triggered well before the end of the call.
2. Verify that there are no network or system delays that could be affecting the loading time.
3. Check if there are any conditions or dependencies that might prevent the successEvaluation from executing properly.
Regarding the structuredData format inconsistency, it seems like there might be an issue with how the data is being formatted or escaped before it's returned. To ensure that the structuredData is always in valid JSON format, consider the following steps:
1. Review the code or process that generates the structuredData to ensure it consistently outputs valid JSON.
2. If you have control over the structuredData generation, make sure to escape special characters properly and format the JSON correctly.
3. If the structuredData is coming from an external source, you may need to implement a preprocessing step to clean and format the data before attempting to parse it with the Parse JSON node on Make.
If you're still encountering issues with the successEvaluation loading or the structuredData format, please provide more details or any specific error messages you're receiving, so I can assist you further. If there's anything else you need help with, feel free to ask!