# Get data from plugin API (calendar) and create a thing (event)

**URL:** <https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091>\
**Category:** Need help\
**Created:** [January 12, 2022, 1:50pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091 "2022-01-12T13:50:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [January 12, 2022, 1:50pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/1 "2022-01-12T13:50:34Z")

</div>

**Context** : I am using a [google calendar plugin](https://bubble.io/plugin/calendar-from-google-1504084136074x936250845148217300) from Zeroqode that fetches google calendar data.  
**Objective** : I want to create an “event” in the database that updates automatically when the name of the actual event data changes (i.e. when I change the name of the event in the actual google calendar)  
**What I can do (which is not what I want to achieve)**:

1. Backend workflow with “name” parameter  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/9/f9e18eaf935b7583fd073c71c160d71cadde63a5.png)
2. Run workflow on the list of all events  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/9/d/9d715b20acf560f28894e3404a12d6635b4fbac8.png)

But this way, I can only create static data that does not change when I change it in the google calendar. I want to have a parameter of type “Calendar Events Item (Google Calendar)” (i.e. API data type) there is no such type on selection of parameters. What should I do?

---

<div class="post-metadata">

**Author:** ![agiledood](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/agiledood/32/243470_2.png) [@agiledood](https://forum.bubble.io/u/agiledood)\
**Post date:** [January 12, 2022, 2:56pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/2 "2022-01-12T14:56:22Z")

</div>

If I understand correctly, I think you might need to use Zapier or Integromat to capture the change to the google event.

1. when the event is change in google calendar
2. zapier or integromat are ‘watching’ for it (I think they both have triggers for this)
3. grab the unique id from the google calendar event (I assume you’re storing that in bubble already)
4. find and update in your system

I don’t see how your workflow will know the name has changed, unless there’s a config or trigger option in Zeroqode’s plugin?

---

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [January 12, 2022, 3:00pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/3 "2022-01-12T15:00:17Z")

</div>

I don’t think there is such an option in Zeroqode’s plugin actually. I didn’t even know you need such a trigger 😅. I will be looking at these two solutions then.  
thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [January 12, 2022, 3:03pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/4 "2022-01-12T15:03:10Z")

</div>

P.S: Do you know of any example that uses Integromat with google calendar data?

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [January 12, 2022, 3:07pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/5 "2022-01-12T15:07:25Z")

</div>

I think you can just use Bubble Backend WF to receive webhook from Google Calendar

> **[Push Notifications  |  Calendar API  |  Google Developers](https://developers.google.com/calendar/api/guides/push)**

---

<div class="post-metadata">

**Author:** ![sensei01](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@sensei01](https://forum.bubble.io/u/sensei01)\
**Post date:** [January 12, 2022, 4:13pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/6 "2022-01-12T16:13:43Z")

</div>

thanks for the reply. I followed you suggestion and tried to implement [this process](http://forum.bubble.io/t/google-calendar-api-use-case/20867/7) but got stuck at “Sample API Call - Get Contacts” (“get emails” in my case). Seems too complicated for my API knowledge. Will try @agiledood solution now 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 23, 2022, 1:50pm UTC](https://forum.bubble.io/t/get-data-from-plugin-api-calendar-and-create-a-thing-event/186091/7 "2022-03-23T13:50:43Z")

</div>

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