How to Fetch URL Parameters in a Workflow and Save API Response to the Database?

Hello Bubble Community,

I’m trying to fetch URL parameters in my workflow and use them to make an API call. I have already set up the API Connector and configured the necessary headers and parameters. My goal is to:

  1. Pass the URL parameters into the API call.
  2. Fetch the response data from the API.
  3. Save the response data into my Bubble database.

Here’s what I’ve done so far:

  • I added the API call in the API Connector and included all the required headers and parameters.
  • I set up the database fields to store the API response data.

The issue:

I want to trigger the API call in a workflow and pass the URL parameters dynamically. However, I’m unsure which workflow action to use for making the API call and passing the URL parameters. I couldn’t find an option that allows me to fetch the URL parameters and return the response data to be stored in the database.

Questions:

  1. How can I fetch the URL parameters in my workflow and use them to call the API?
  2. Which workflow action should I use to send the API response data back to the workflow and save it in the database?
  3. I am currently on the Basic Plan—will this plan allow me to achieve this, or do I need to upgrade to another plan?

I have tried a few different options but couldn’t find a suitable one. Any guidance would be appreciated!

Hello, you should change “Use as” Data to the action. After that can see this request in the workflow.

Thanks for the response!
I did that. Now, which action should I select in the workflow
image

@tunacardak

First you need to click inititalize call. After that, you can see it under plugins section, just before custom events

Okay Done. Thank you

This topic was automatically closed after 70 days. New replies are no longer allowed.