# guide - automatically stepping down your goals with n8n

**URL:** https://forum.beeminder.com/t/guide-automatically-stepping-down-your-goals-with-n8n/11086
**Category:** Tech
**Created:** [August 10, 2023, 5:07am UTC](https://forum.beeminder.com/t/guide-automatically-stepping-down-your-goals-with-n8n/11086 "2023-08-10T05:07:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sheik](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/sheik/32/5107_2.png) [@sheik](https://forum.beeminder.com/u/sheik)
#### Post date: [August 10, 2023, 5:07am UTC](https://forum.beeminder.com/t/guide-automatically-stepping-down-your-goals-with-n8n/11086/1 "2023-08-10T05:07:31Z")

</div>

I have made a n8n workflow that steps down my goals automatically if they are \>5$ and no stepdown is scheduled.

n8n is a self-hosted no-code thing that’s pretty nice to glue multiple APIs together, or, well, just one API, in this case 😃

Here’s how it looks:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/f/f6b831464d7144e37559003cae05e35b96482cf1.jpeg)

## Small guide to stepping down your goals automatically with Beeminder

1. [Get your hands on an n8n instance](https://docs.n8n.io/try-it-out/quickstart/). There are tons of different ways of running n8n, for each different user types. Personally. I’m too lazy to create a personal instance, so I’m using my company’s one 😅
2. Import [this workflow](https://gist.github.com/clouedoc/6c2a3185213a9701c9ca144df0019107)
3. Edit the workflow with your own username by editing each HTTP node’s URL (replace “clouedoc” with your Beeminder username)
4. Edit the credentials used by the HTTP node to be yours (it needs to be a “query parameter” credential, with name auth\_token and value [the thing from this URL](https://www.beeminder.com/api/v1/auth_token.json))
5. Make sure to save the workflow and toggle it as active (toggle in upper-right corner)
6. Done! It’ll check every 4 hours if there are goals that should get stepped down automatically.

## side-note on decluterring

I’m doing this as a part of my [declutter](https://www.beeminder.com/clouedoc/declutter) goal. I removed tons of Beeminder goals and reduced the rate; reducing the pledges was one of the next steps I needed to make my life less “cluttered” 🙂. I’ll probably put some goals on whitelist since it’ll make sense to have high pledges with them 👀 but I want to have a fresh start.
