AirTable - how can I retrieve form submissions in an automation script?

I’m facing an issue where I have a form that allows users to input data. Upon submission of the form, I aim to execute an HTTP request to update a remote database with the submitted information. I’ve configured an automation script to trigger once the form is submitted. This action will create a new record in that database, resulting in a unique identifier associated with it. My challenge is to retrieve the data from the submitted form. As I’m relatively new to AirTable and this is my first experience with forms, I did not create the form in question. In my prior experiences with scripts, I’ve utilized commands like these to access tables and records:

let db = base.getTable("Planning Database");
let selectedRecord = await input.recordAsync("", db).catch();

I’m hoping there’s a comparable method to fetch data from the form that initiated the automation script. For instance:

let submittedData = base.getForm("My Awesome Form");

Thanks for your help!