Storing Google Places dynamically and sending data to page

Hi everyone,

I am trying to get the following workflow going, from which the steps marked with :x: I am struggling with:

  1. Get data from Google Places with a Nearby Search and display them in a repeating group :white_check_mark:
  2. User clicks on any of the returned values which should trigger the following:
    a) "Create a new thing"with some of the Google Places attributes, if the Google Place “id” is not created yet (in order to avoid duplicate entries. :x:
    b) Navigate to a detailed page with Type of Content: Google-Place which would show more details about this Google Place :x:
  3. On the second page rate products from this Google Place and store them in a database (thats also why I want to store the Google Place as described in 2a) :white_check_mark:

I have tried multiple ways to get this workflow to function but am struggling with the two options I have currently in my example app (https://bubble.io/page?type=page&name=google-places&id=product-ratings&tab=tabs-1)

  1. “Create a new thing”-Button workflow: Here I create a new thing checking for duplicates based on “id”, when clicking the button, then redirect to the page sending the Google Place data. Issue with this: When a duplicate Place is clicked, then no data will be send to the page, because of the “Only when” exception.
  2. “Create a new thing with API Workflow”-Button: Similar workflow as above, just that I am using an API workflow to store the data. Issue with this: The data to be send is not matching and I cannot find a way to solve this.

Anybody have any great ideas how to solve this? Maybe it even works without saving the Google Place and pulling data dynamically?