# Storing Google Places dynamically and sending data to page

**URL:** <https://forum.bubble.io/t/storing-google-places-dynamically-and-sending-data-to-page/15111>\
**Category:** Database\
**Created:** [July 2, 2017, 8:28am UTC](https://forum.bubble.io/t/storing-google-places-dynamically-and-sending-data-to-page/15111 "2017-07-02T08:28:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tilltillio](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@tilltillio](https://forum.bubble.io/u/tilltillio)\
**Post date:** [July 2, 2017, 8:28am UTC](https://forum.bubble.io/t/storing-google-places-dynamically-and-sending-data-to-page/15111/1 "2017-07-02T08:28:26Z")

</div>

Hi everyone,

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

1. Get data from Google Places with a Nearby Search and display them in a repeating group ✅
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. ❌  
b) Navigate to a detailed page with _Type of Content: Google-Place_ which would show more details about this Google Place ❌
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) ✅

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](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?
