Skip to content
Orvyn

Automation

Orvyn in Make

A scenario that reads the number on a schedule and passes it on, step by step, for someone who has never installed anything.

Takes
About 5 minutes
You need
  • A Make account; the free plan is enough
  • Nothing to pay: the free number needs no key
Costs
Nothing for the free number, which runs a little behind. The signed, newest number takes a pack bought on the feed’s page; every guide ends with how.

First, pick the number you want

Every line further down is then written for it, ready to copy.

Or one of these:

You picked

EUR / USD, ECB reference rate

by Orvyn · changes every day · its page

Its address, which the lines below carry:orvyn/eur-usd-ecb-reference

The free number right now

1.1411

measured · runs 15 minutes behind

Then follow the steps

In about five minutes a scenario reads EUR / USD, ECB reference rate on a schedule and hands the number to any other module. One HTTP module with three fields does it; nothing is installed.

  1. Start a scenario with an HTTP module

    Scenarios › Create a new scenario. Press the big +, search for HTTP, and pick Make a request.
  2. Fill in three fields

    Make a request
    URL             https://orvyn.me/gw/v1/feeds/orvyn/eur-usd-ecb-reference/preview
    Method          GET
    Parse response  Yes

    Leave the rest as it is and press OK.

  3. Run it once

    Press Run once at the bottom, then click the bubble that appears above the module.

    You should see: Under Output › Data there is preview with value in it, and decimals. The value is a whole number: 4 of its digits are decimals.

  4. Turn it into a plain number

    Press the + after the HTTP module, pick Tools › Set variable, name it value, and paste this as its value. The 1 is the HTTP module’s number, shown on the module; change it if yours is not 1.

    Set variable, value
    {{parseNumber(1.data.preview.value; ".") / pow(10; 1.data.decimals)}}

    You should see: Run once again: the variable is 1.1411, a number any module after it can use.

  5. Schedule it and switch it on

    Click the clock on the first module and set it to every day, which is how often this feed changes. Add what should happen next, save, and set the scenario to On.

The Orvyn app, with ready made modules

The custom app adds Search Feeds, Get a Feed, Read the Latest Report, Read the Preview and a Watch Reports trigger that fires once per new report, with the number, its unit and its proof link ready made. It is imported once, by hand, in Make’s developer hub: download the app files; the README inside says which file goes where. A public listing follows Make’s review.

Want the signed number instead?

What you set up above shows the free number. It runs 15 minutes behind and is not signed, which is fine for a dashboard. The signed number is the newest one, and it comes with a proof anyone can check on the check page or on chain. It costs a little: you buy a pack of reads once, with your wallet, then a key spends from that pack. Three steps, in this order.

  1. 1

    Buy a pack on the feed’s page. The smallest is enough to start; a pack is a number of reads, and the page says what each costs.

  2. 2

    Make a key with the wallet that bought the pack. Sign in here and it is made for you, or make one under Dashboard, API keys, with the read scope only. A read key can spend the reads you bought and nothing more, and you revoke it there.

  3. 3

    Put the key in Make. In the HTTP module, change the end of the URL from /preview to /latest, and under Headers add one named Authorization with the value Bearer lk_…. The answer then has report instead of preview, so the formula reads 1.data.report.value. With the Orvyn app, make a connection and paste the key there instead.

No tool holds a wallet or pays by itself. However often a sheet recalculates or a workflow runs, a feed is read from your pack at most once every day, because that is how often it changes.

If something looks wrong

You seeIt means
Status code 402Your key holds no pack for this feed. Buy one on the feed’s page.
Status code 401The key is wrong or was revoked. Make a new one.
Status code 404The address in the URL has a typo. Pick the feed above and copy the fields again.
Status code 429The free number is rate limited. Run the scenario less often.
The variable is emptyThe module number in the formula is not the HTTP module’s. Look at the number on the module and put that in.

Still stuck? Say so on X with the words on your screen, and we will answer.

Take it out again

Delete the scenario. If you made a connection for the Orvyn app, delete it under Connections.