Skip to content
Pine Computer Request access
Menu

22 / 26 Sales and marketing · Example

Monitor competitor prices

By six each morning, the price sheet shows what every rival charges for the same products.

Who it’s for
Retail pricing software whose users keep pace with rivals that change prices without notice.
Why it’s hard
Rivals sell the same skillet in different packs, and only a like-for-like match is any use. Copperleaf prices by delivery country, so the check runs from where your user’s customers are.
You get back
  • Today’s prices beside yesterday’s, in the price sheet
  • The page behind every price
How it runs, in your product’s code

The computer searches each competitor’s site for every product on the list, from your user’s country. It reads the price and the stock, and compares the pack with your user’s own. When Copperleaf’s nearest match is the skillet with a lid, the row turns to “Needs you: a match”, and the pricing manager decides on the live screen whether it counts.

Ruby · example
computer = pine.create_computer(  location: { country: "US" },  ephemeral: true)session = computer.create_session(name: "main", browser: true) session.agent.run(<<~JOB)  Record each competitor’s price for every product on our list  in today’s sheet.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.