When I build the trackChanges AI following the Building AI Workers in MindStudio (1-hour course) video, I have problem with currentContent and global.prevContent variables. Can someone show me how to generate them correctly.
Hi @KimSa,
Thanks for the post!
You can save data to a Global Variable by taking the following steps:
- Add a Display Content block
- Reference the variable with the data you want to save in the Message field
- Set the Output Behavior to “Save to variable”
- Enter the global variable using this format: global.yourVariable
Here’s a sample Agent you can remix that shows how this works:
https://app.mindstudio.ai/agents/detect-website-changes-basic-e03f83e4/remix
Hope this helps!