Variable formdata for a row from a form

Variable formdata for a row from a form

I need to write deluge script to send emails.
the input.formdata variable won't work because this is not the "on add" / "on edit" actions...

So the email body is to contain all data from a certain row in FORMA for example:

FORMA[ID == 251445568000066556].formdata

The email body is to contain all field names and values from that certain row where [ID == 251445568000066556].

How can this be realized in a deluge script? Is there a way to simulate form submission? Thanks.