Sorry but you will have to do some extra reading. Start with this article, which shows an Automation example which you maybe able to use or adapt.
https://techcommunity.microsoft.com/t5/microsoft-sentinel-blog/sending-enriched-microsoft-sentinel-a...An Incident / Alert contains just the data needed, that doesn't mean you can't gather and export more or enriched data, the original Query is contained in the SecurityAlert (and its that data that is normally used used), however you can run any query you like in the Automation and export that - see
https://docs.microsoft.com/en-us/azure/sentinel/tutorial-respond-threats-playbookexample of the original Query that was used for each Alert to trigger
SecurityAlert
| extend Query_ = tostring(parse_json(ExtendedProperties).Query)
| project Query_