Help with a Gas savings calculator

I’m trying to build a gas savings calculator in Pickaxe.

It works but it doesn’t pull the right gas price off of the source URL based on the state and what type of fuel they use like Regular or Diesel.

The source URL is AAA Fuel Prices

I’m not sure how to instruct Pickaxe on how to look at the correct column and state so that it creates an accurate calculation.

For instance, if I pick Regular gas in Virginia (where I live) the current price is $3.05 but Pickaxe puts the price a random price such as $3.51.

I have the states listed as a dropdown and the 4 different fuel types as a drop down.

Is there a way for Pickaxe to evaluate the users choice and use that to match the source data and create an accurate calculation?

Here is the link to the pickaxe: Gas Savings Calculator

@nathaniel

Having it auto update is the difficult part, is it just in the kb right now?

I didn’t have it in KB, just in the prompt. I just added it to the KB to see if that helps.

Off the top of my head, try to see if there is a free API that already exists so you can connect the API to your PIckaxe,

Keep in mind, I’m not a developer or even that tech. I do create a lot custom gpts andf pickaxes.

Here is is a paid Gas Price API

CollectAPI Gas Price API: Real-Time Fuel Prices at Your Fingertips

Are you looking for a reliable, up-to-date source of gas prices? Look no further than CollectAPI’s Gas Price API. Our comprehensive service provides real-time gasoline and diesel prices from fuel stations across multiple countries and cities.

  1. You could use web search “action” to check the AAA Fuel Prices and return the price.

I would crearte a Pickaxe Form. Create a form that asks for the same colmns as the AAA Fuel Price table so your users don’t enter any info that may confuse the pickaxe.

1 Like

I always check the Chat GPT Marketplace to see if anyone has already created something similiar.

This Custom GPT is not connected to any API, it just searches the internet for the gas price.

1 Like

Last bit of advise, lol. Create the pickaxe and then go to “Actions”, and choose the Pre-build Perplixity Action, which is great at research the internert.

Yes I want to use web search “action” but I don’t know where that is. Is it the Google one? I originally built this in Formwise which has a scrape the web feature. Pickaxe seemed to have that at some point but now its gone. So I need an alternative that does the same thing.

Checkout the videos on the Pickaxe YouTube channel: https://www.youtube.com/watch?v=lKrC3LTnfcA&t=587s

Seems like it should be a straightforward prompt similar to what I put into ChatGPT 4o here: https://chatgpt.com/share/67b376a5-b934-8003-bd10-634cab5e8096

Did you structure your AI role and task similarly?

Thanks that helped get it on track.

1 Like