How can I manually invoke a job on Trigger.dev without using an automatic trigger? Is this possible, and if so, how can it be done?
Ex: Can we do something like this?
curl -X POST 'https://api.trigger.dev/jobs/YOUR_JOB_ID/run'
-H 'Authorization: Bearer YOUR_API_TOKEN'
-H 'Content-Type: application/json'
-d '{
"param1": "value1",
"param2": "value2"
}'
My requirement is as follows:
I'm currently using a trigger from trigger.dev to process tasks after adding a new record to my Supabase table, and it's working well.
However, the payload I'm receiving contains only the data of the newly added record.
I need data related to foreign tables as well. Is there a way to achieve this with trigger.dev?
I haven't found anything related to this, so I have decided to create a Supabase trigger to construct the JSON I need, including data from foreign tables, and then call the trigger.dev job. Is that possible?
Thank you for your help!