Post an API's data to Discord every morning
Every morning, call an API (your stats, a status page, a price) and post the answer to Discord.
Daily report to DiscordTemplate
StartTriggerEvery day at 9:00 AM (your timezone)
Step 1HTTP request
Step 2Post to Discord
Trigger
Every day at 9:00 AM (your timezone)
Step 1
HTTP request
Step 2
Post to Discord
The steps
Trigger
Every day at 9:00 AM (your timezone)
Every day at 9:00, in the timezone your browser is in.
Step 1
HTTP request
Enter the API's URL. Add API credentials if it needs a key.
Step 2
Post to Discord
Posts what the API returned. Add your channel's webhook, then pick only the fields you want from Step 1's body.
What you need
- An API you can call with a URL (and a key, if it needs one).
- A Discord channel where you can make a webhook.
- A Foliot account (free).
Questions
- What if the API is down?
- An answer of 400 or more fails the step, and Foliot emails you that the run failed. Nothing is posted that day.
- Can it post more often?
- Yes: every N minutes or hours, as often as every minute. Each run counts toward your monthly runs.