Automating the Tavern Keeper in Viking Rise
This is the one action on the list where every single purchase is real currency, and it's built accordingly: nothing is ticked, nothing is defaulted, and nothing is bought until you name both an item and a count.
This guide assumes you've completed Viking Rise bot setup.
Turning it on is not enough. Pick an item and a count. Both start empty, and with either missing the action buys nothing.
This action spends gems
Every one of the Keeper's items is priced in gems. There's no resources-only line to draw here the way there is with the Prosperity Merchant next door — the whole shop is real currency.
That's why there are no defaults. An unconfigured copy buys nothing at all.
Setting it up

Item to buy is a single dropdown listing the Keeper's whole stock, with the gem price in each label. The price is there for two reasons: you need it in front of you to choose a sensible count, and two different items share the display name "Gathering Boost (8h)" at different prices — the price is what tells them apart.
How many to buy (per pass) is a plain number. Counts here span 1 to hundreds depending on the item, so there's no fixed list to pick from.
It's one item per copy of the action. To buy several different things, add a copy per item and drag them into the order you want.
There is no purchase limit
Unlike the tribe shop, the Keeper has no weekly cap of its own. Each pass buys up to the count you set, again. A second pass in the same day buys the same amount a second time.
Set the count with that in mind, and use a schedule if you want exactly one pass a day.
Troubleshooting
Nothing is bought. No item set, or no count set. Both are required.
It bought fewer than I asked for. You couldn't afford the rest. The bot buys as many as your balance covers instead of failing — ask for 10 with gems for 4 and you get 4.
It reported nothing bought when I expected a purchase. The bot reports what actually left your gem balance rather than what it asked for, so a refusal shows as nothing bought rather than as a false success.
The stock changed with the season. The bot works out which season is live each pass and uses that season's ids, so your chosen item keeps resolving correctly.