Help Triggering Download Of CSV From Webhook Response With Adalo Integration

Hey all,

I have built a custom app to manage loads for my small trucking company. I have a question on how to trigger my app to download a csv file. I am not very experienced or intelligent so I am sure I am missing something important.

I would like to be able to set a date range and then download specific information about those loads either as a CSV or workbook so that I can do some further calculations on a weekly basis.

Goal: Set a date range in Adalo, click a button and trigger a download through the browser for a CSV file of the records within that time frame.

Progress: I have created a custom action in Adalo that triggers a webhook, then calls for the records from Adalo, filters them based on the payload I sent when I triggered the webhook, then creates the CSV file. All of that is working fine at this point.

I set the webhook response up (I thought) to force the browser to prompt the download of the CSV file.

Current Result: When I run the scenario it says successful. However, I am not prompted to download the CSV file, nothing happens on the front end. I assume I need to trigger this download some way other than what I have done with the webhook response.

Adalo Button Creation:

Adalo Custom Action Creation:

Make Scenario:

Webhook Response:

Webhook Response Input Bundle Download:

Webhook Response Output Bundle Download:

Any help at all would be great, thanks!

If I’m getting this right, your goal is to download the CSV (in other words, to get the CSV automatically). I think it is more straightforward to just upload it to your Google Drive or similar service or simply email it to yourself.

1 Like

Thanks for the quick response!

Correct that was my goal, but I am not opposed to just creating a sheet or or worksheet directly.

In that case would I be removing the webhook response module and sending the csv to a Google Sheets module or would I cut the CSV out altogether?

There is no need for a Webhook response if it is only for you to see. You can do both. Getting the CSV file or populating a new sheet directly by mapping the data. It’s up to you. Keep in mind that the “Watch new rows” module only watches for completely new, unedited rows in Sheets. Not updates rows.

1 Like