@emmanuel
Yes, I think I need to use the API connector.
I tried it but I’m running into some challenges.
The API connector set up requires a call to an external API (say UBER), and bubble parses the response. This works very well. In the UBER example, using the API connector I’m able to get the product listing for a location like so:
{
"products": [
{
"capacity": 4,
"product_id": "6450cc0f-4d39-4473-8632-1e2c2049fefe",
"price_details": {
"service_fees": [
{
"fee": 1.3,
"name": "Booking fee"
}
],
"cost_per_minute": 0.24,
"distance_unit": "mile",
"minimum": 4.3,
"cost_per_distance": 1.35,
"base": 1.35,
"cancellation_fee": 5,
"currency_code": "USD"
},
"image": "http://d1a3f4spazzrp4.cloudfront.net/car-types/mono/mono-uberx.png",
"shared": false,
"short_description": "uberX",
"display_name": "uberX",
"description": "The low-cost Uber"
},
{
"capacity": 2,
"product_id": "c97ddc01-42ae-4761-8fa6-cd14955477b4",
"price_details": null,
"image": "http://d1a3f4spazzrp4.cloudfront.net/car-types/mono/mono-uberx.png",
"shared": true,
"short_description": "uberPOOL",
"display_name": "uberPOOL",
"description": "Share the ride, split the cost."
}
]
}
The API connector is able to parse this JSON array and the nested data it contains. I can display the information in a repeating group. This is working amazingly well.
The challenge I’m facing is this:
Based on my limited understanding, for the API connector to work, I need to initiate a call from bubble to on an external service. The use case I have ----> based on some processes running on an external service, the external service sends a payload to my bubble App. The call is not initiated from bubble. I want to expose a bubble “webhook” to catch the payload and process it.
Is there a way to use the API connector for this? Or is there something else that can be used?
Apologies for the rather long post. I feel I’m very close to figuring this one out but not quite yet.