Issues with Trigger Hook

I am having a hard time getting my trigger hook to work in side glide. My Pabbly hook is working perfectly. I am using google sheets. I am able to use the app script url in a web address and it writes to my sheet every time.

When I trigger my button in app, it never writes to the sheet, or occasionally it gets an error 405. i think it has something to do with my trigger url, but I’m unsure on how to correct it.


1 Like

Might not be the same thing, but please see the final solution in this thread to see if it works for you.

Can you explain what your automation does that Glide can’t do?

1 Like

Hi Thinh,

Thanks for the reply. I will have a look. Thanks. unfortunately, I’m not on the business plan and don’t have access to ‘API CALL’ just on the maker currently.

I am trying to pull info from my google sheet to my glide table with a trigger hook to pull in current information. This is just current weather info weather info. It is also sending location out from glide sheets to identify local weather where the user is.

I have been getting everything from 403, 404, 405, and 305 errors.

I have a feeling that it is something in the trigger url. Depending on how I write it, it triggers different errors.

1 Like

So you have a function in your Google Sheets that returns weather info, and you’re retrieving that back into your Glide table?

Is there a reason you don’t just connect that sheet to Glide?

1 Like

I’m brand new to Glide. I’m not sure what you mean.

1 Like
1 Like

Thanks Darren. Unfortunately, this doesn’t address my issue. I already have it connected, they are just not talking to each other appropriately.

1 Like

In what sense?
Can you elaborate?
What you are trying to do should not be necessary, unless you’re doing calculations in the Google Sheet, and waiting for the results to sync back to Glide. And if that’s the case, my advice would be don’t do that. Do it in Glide instead.

2 Likes

Hi Darren,

I am making a weather portion to my app. I am using my API key in the code in my Apps script. What I need it to do is send the user’s location to the google spreadsheet from glide sheets, to trigger the api to to give correct information and give that back to Glide sheets to show current information for the facing user.

1 Like

Okay, understood.

So I don’t think connecting the Google Sheet to your App is the solution, as you’ll still have sync delays to deal with.

I think you probably have two options:

  • Deploy your script as a cloud function, in the same way that Andrew Davies did in that thread that Thinh linked to earlier.
  • Find an alternative weather API (one that doesn’t require authentication), and call it directly from Glide using JavaScript.

The second option would be easier, I think. I’m pretty sure there are lots of free weather API’s out there. You could do it with your current API, but you would be risking exposing your API key.

3 Likes

Here are some weather APIs for you to explore.

2 Likes

Open weather app is the one that I am using.

1 Like

Hi Darren,

This is using API Call correct? I don’t have access as I am only on the Maker subscription.

1 Like

You could do it with JavaScript, or potentially even with the Get Webpage Source column.

2 Likes

Hi Darren,

The issue I am having, is that the free api’s don’t have the info I need. Specifically barometric pressure. Thoughts?

1 Like

Are you familiar with make.com?
I think that could be a good option for your use case. You could do something like:

  • Webhook trigger from Glide to Make
  • Secure HTTP call from Make to your Weather API
  • Push result back to Glide via Make integration

I believe the above should be possible on the Maker plan.

Out of curiosity, what do you use barometric pressure for? (I have a background in meteorology, I spent 18 years working with the Australian Bureau of Meteorology).

2 Likes

Hi Darren,

It is important for understanding some patient symptoms for brain issues post surgery.

3 Likes