# Csv email widget

**URL:** <https://forums.losant.com/t/csv-email-widget/5937>\
**Category:** Feature Request\
**Tags:** experience, dashboard, device, csv\
**Created:** [November 3, 2025, 2:24pm UTC](https://forums.losant.com/t/csv-email-widget/5937 "2025-11-03T14:24:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allan\_West](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Allan\_West](https://forums.losant.com/u/Allan_West)\
**Post date:** [November 3, 2025, 2:24pm UTC](https://forums.losant.com/t/csv-email-widget/5937/1 "2025-11-03T14:24:39Z")

</div>

Are there any plans for a dashboard widget that has a similar function as the ‘request data export’ function within the Losant UI (under device actions)?  
We can’t seem to do this in a way where the end-user isn’t emailed a Losant-branded email with the csv download link. It would be great if the user could just input their target email address and a target timeframe, with the device ID being determined by dashboard context (or from a dropdown).

Thanks,

Allan.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [November 3, 2025, 4:06pm UTC](https://forums.losant.com/t/csv-email-widget/5937/2 "2025-11-03T16:06:28Z")

</div>

The closest thing we have is the [“Download as CSV” option in the Device State Table](https://docs.losant.com/dashboards/blocks/device-state-table/#download-as-csv) - which is similar but not exactly the same as what you are describing. And we don’t have any plans to add a device data export block to dashboards anytime soon.

What you’re trying to accomplish can be done outside of a dashboard within your experience, however.

- You can accept a device ID, target email (defaulting to the experience user’s email address), start and end time (as Unix timestamps) in a simple web form. That submission fires a workflow through an [Endpoint Trigger](https://docs.losant.com/workflows/triggers/endpoint/).
- Using a [Device: Verify Node](https://docs.losant.com/workflows/experience/device-verify/), you can verify that the user making the request has access to the device they are requesting. You can also validate other parts of the request using a [Validate Payload Node](https://docs.losant.com/workflows/logic/validate-payload/).
- Using a [Losant API Node](https://docs.losant.com/workflows/data/losant-api/) and the [Device: Export API action](https://docs.losant.com/rest-api/device/#export), you can request an export using the start and end time provided by the user.
  - You would also include a `callbackUrl` - and not an `email` - in the request, pointing the `callbackUrl` to a [Webhook](https://docs.losant.com/applications/webhooks/). The email address to where the result should be sent should be encoded as a query parameter on the request.

- In a [Webhook Trigger](https://docs.losant.com/workflows/triggers/webhook/), you receive the result of the request, which includes a link to where the data export file can be downloaded. That is then included in the body of an email in a [SendGrid](https://docs.losant.com/workflows/outputs/sendgrid/) or [Mailgun Node](https://docs.losant.com/workflows/outputs/mailgun/), which you then fire off to the email address included in the webhook request.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [November 3, 2025, 4:17pm UTC](https://forums.losant.com/t/csv-email-widget/5937/3 "2025-11-03T16:17:23Z")

</div>

We have a template that demonstrates _some_ of what I described here: [Experience User Dashboard Requests](https://app.losant.com/applications/recent/template-library?templateId=6643bffa73921ccae24a75ef).

That template uses a resource job to iterate over experience users and send personalized dashboard export emails on a regular basis. You would want to rip all that out and replace with the endpoint request validation and processing I described previously.

But you could then update the Losant API Node to use the Device: Export Action, and everything downstream from there is pretty close to what you need: A webhook to receive the response and the target email address, and a SendGrid Node for pushing the resulting export file out to the user.

---

<div class="post-metadata">

**Author:** ![Allan\_West](https://avatars.discourse-cdn.com/v4/letter/a/a6a055/32.png) [@Allan\_West](https://forums.losant.com/u/Allan_West)\
**Post date:** [November 5, 2025, 11:41am UTC](https://forums.losant.com/t/csv-email-widget/5937/4 "2025-11-05T11:41:43Z")

</div>

Many thanks for your reply Dylan, we’ll try the solution with the Losant API Node 🙂
