Although I’m certainly not as much of a “shortcuts” master as some others here, the key would be to create a template note in Agenda and then create a Shortcut that calls the x-callback-url with the template parameter, see X-callback-url Support and Reference. Once you have these in place you can use the automation feature of the shortcuts app to let it run this shortcut at certain days etc.