Adding Table of Content in Word Doc under (Display Block(

Does anyone know how to format the ai to add table of content in the word doc followed by the report generated by AI.

I have tried to give prompt to add table of content but it doesn’t do that.

Hi @Sana,

Could you share an example of the prompt you used?

Just in case, here’s a test Agent I created that outputs a table of contents:
https://app.mindstudio.ai/agents/mock-report-with-table-of-contents-261da2d1/remix