Skip to content
Pine Computer Request access
Menu

21 / 26 Sales and marketing · Example

Update marketplace listings

Nobody on your user’s team has to retype the spring range into each seller portal.

Who it’s for
Catalogue software whose users sell on marketplaces that give small sellers a portal and no API.
Why it’s hard
On Larkspur a price is live once saved, so a typo is a sale at the wrong price.
You get back
  • A before-and-after record of each change, with the saved page
  • Listings a marketplace paused or refused, with its reason
How it runs, in your product’s code

Larkspur won’t open the edit page until the shop’s owner signs in on the live screen. The computer then finds each listing by its SKU and types in the new price and title from the sheet. After saving, it reads the live listing back against the sheet. A paused listing, like the oat oven glove, is left alone.

Ruby · example
computer = pine.create_computer(  location: { country: "US" },  ephemeral: true)session = computer.create_session(name: "main", browser: true) session.agent.run(<<~JOB)  Update the spring range’s prices and titles on each  marketplace from the attached sheet, and save each listing  page.JOB session.agent.events do |event|  case event.type  when "needs_input"    # Your user takes the controls on the live desktop in your    # product, does what only they can, and hands them back.    session.agent.answer(event.payload["request_id"], "Done.")  when "result"    session.list_artifacts(turn_id: event.turn_id).each do |file|      row.attach(file.filename, session.read_artifact(file.id))    end    break if event.terminal?  endend computer.stop

Build more.
Hand AI the work.

Pine Computer is invite-only while in beta.