All integrationsJokes, Quotes & Fun

Advice Slip

Pull one-line advice from the Advice Slip API, the free keyless collection behind adviceslip.com.

actions
7

Actions

Steps a workflow can run in Advice Slip.

  • Get random adviceGet one random piece of advice, ready to post, with a link back to it. The service caches its random pick for two seconds, so two steps run back to back get the same slip; hand back the id you posted last time to draw a different one instead.
  • Get several pieces of adviceGet several different pieces of advice at once, up to 10. No slip is drawn twice in the same batch. The service returns one random slip per request and caches it for two seconds, so a batch waits that out between draws and takes roughly two and a half seconds per slip after the first, which is exactly why the same loop built by hand returns the same slip over and over.
  • Get advice by IDGet one specific piece of advice by its id, for re-posting something an earlier step found. Ids are whole numbers the service assigns once, so an id stored last month still means the same advice. A full Advice Slip URL is accepted in place of the bare id.
  • Search adviceFind the advice that mentions something: a subject, a habit or a word, best match first. The service publishes no relevance of its own, so matches are ranked here with a whole-word hit worth far more than one buried inside a longer word. A search that matches nothing comes back as an empty result rather than failing the step.
  • Get advice for a dayPick one piece of advice for a day and keep picking that same one all day. A random draw gives something different on every call, so a daily workflow that retries, or that two people run an hour apart, posts two different slips for the one day. This one is fixed by the date: the same date always gives the same advice, and tomorrow gives different advice. Add a seed of your own to have two workspaces post different advice on the same day. For the service's own published pick, which is the same for everyone and only ever covers today, use Get today's published advice instead.
  • Get today's published adviceRead the one piece of advice the service itself publishes each day, from its daily RSS feed. Everyone reading it that day gets the same advice, and it only ever covers today. To pick advice for a date of your own, or to give each workspace its own, use Get advice for a day instead.
  • Check service statusCheck whether the Advice Slip API is answering, and how quickly. This is the one action that reports a problem as a value instead of failing the step, so a workflow can decide what to do about it. Being throttled is reported separately from being down.

Automate Advice Slip with Lodol.

Connect Advice Slip and ask your AI for your first workflow.

Free plan, no credit card