Workflow - using response of external API

Hi,
I’m using a workflow to call an external API. When the response is OK (no error) the data shall be also create in bubble database. IF there is an error code there should be an alert message and no data shall be saved.

What is the best way to do this?

any idea?

Bubble’s API connector now allows you to trap non 200s (this is recent, and it was a nightmare).

There is a box in the API connector.

In Step 1 is a API plugin where we create a subscription.

In Step 2 we’ll create an entry in the database

.

No my issue is that Step 2 shall only perform if step 1 was sucessful. if there is any issue in step 1 (error from api) it shall show a message.

How can I do this?

any idea?

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