Apify actor to download invoices from Toggl.com (time-tracker application). This actor goes to toggl.com, signs in, goes to invoices, downloads the last one and saves it to key-value store. There is a possibility to upload the invoice to dropbox and send a notification email - by already existing actors (dropbox upload, send mail) incorporated in the code.
The following table shows specification of the actor INPUT fields as defined by its input schema.
|user||String||(required) Username on toggl.com (i.e. "user": "email@example.com" )|
|password||String||(required) Toggl account password (i.e. "password": "password123" )|
|dropboxToken||String||(optional) Token for dropbox (i.e. "dropboxToken": "GCDRDJKU%$#%$(&f" )|
|pathToDropbox||String||(optional) Path where to upload the invoice on Dropbox. Default setting is to folder named YYYY_MM.|
|emailTo||String||(optional) Email address for sending the notification (i.e. "emailTo": "firstname.lastname@example.org")|
To run the actor, you'll need an Apify account. Simply create a new task for the actor by clicking the green button above, modify the actor input configuration, click Run and get your results.
To run the actor from your code, send a HTTP POST request to the following API endpoint:
Approximately 0.03 CU per run including upload to dropbox and sending e-mail.