API Workflow - Passing Parameter to API from data

Hi, first time question, thank you for taking a look!

I have an API call (below – key is changed) that works fine when I initiatlize with a placeholder in the tname value.

I have a button on a page that calls an API workflow

On the API workflow, I thought I had it set up to get the parameter and give it to the API call.



But the API returns as if the parameter were null – which I suppose it is :slight_smile: . Any ideas on what I’m missing for getting the parameter into the query?

Thanks so much for any suggestions!

1 Like

If I’m following your workflow correctly, you want to set a Person’s klout ID based on their Twitter name right?

Have you tried this…

  1. First, uncheck Private for the tname parameter in your API call so that you can set a dynamic value for it in your workflow.
  2. When button is clicked > make a change to Person (current cell’s Person)
  3. KID = get data from external API (select Get KID call)
  4. The tname parameter will appear: tname = current cell’s Person’s Twitter
  5. So #3 above should read like this: KID = Klout - Get KID’s id (with the tname parameter set when you click on this expression)

You don’t need to schedule an API workflow for this unless you want to delay when this change happens or you want to make the Person change to a unknown list of Persons. In which case, let me know and I’ll help you set that up. The steps above should do it for 1 known Person at a time triggered from a button click in a repeating group cell.


Gaby | Coaching Bubble

3 Likes

That worked perfectly, thank you very much. I knew I was likely on the wrong track when it felt complicated. Everything on the platform has been so simple to do. Thanks again, Gaby!

1 Like

Awesome! Glad to hear it :slight_smile:

Hi… The only way to have a dynamic parameter is if we uncheck the Private checkbox? What if I have query string that I want them to remain private?

Tks!!!

Please help
how to get the API updated every second without using “Do every seconds”
I tried to use the workflow backend but it only runs once

Example API : https://data.gateapi.io/api2/1/ticker/btc_usdt


@p11 I cann’t able to see this action same as yours in my bubble. Instead of that in my case there is below action.

Now i want to pass the url parameter through my workflow and call the api so that api will return response.

I want to get the url parameters here which was sent by workflow.

Can anyone help me what should i do? I have basic plan in my account.So is their any standard plan needed?