Actor picture

Executionid To Xls And Send

vaclavrut/executionid-to-xls-and-send

The act takes a JSON input, starts the act which creates a xls from execution id result and after that send the link via mail. The resulting XLSX URL will be following: https://api.apifier.com/v2/key-value-stores/{defaultStoreID}/records/results.xlsx?rawBody=1&disableRedirect=1 Alternatively you can obtain the result from default OUTPUT value where it is stored like this: {output: "result XLSX URL"} The URL is also outputted in the log. Solving how to attach the xls to the mail.

To run the actor, you'll need an Apify account. Simply create a new task for the actor by clicking the button below, modify the actor input configuration, click Run and get your results.

API

To run the actor from your code, send a HTTP POST request to the following API endpoint:

https://api.apify.com/v2/acts/vaclavrut~executionid-to-xls-and-send/runs?token=<YOUR_API_TOKEN>

The POST payload including its Content-Type header is passed as INPUT to the actor (usually application/json). The actor is started with the default options; you can override them using various URL query parameters.

Example
curl https://api.apify.com/v2/acts/vaclavrut~executionid-to-xls-and-send/runs?token=<YOUR_API_TOKEN> \
-d '[{ "hello": 123 }, { "hello": 345 }, { "hello": 567 }]' \
-H 'Content-Type: application/json' \
-X POST

To use the API, you'll need to replace <YOUR_API_TOKEN> with the API token of your Apify account (view here).

For more information, view the list of actor's API endpoints or the full API reference.