Best answer

How to create Gmail data webhook for a Laravel application

  • 31 July 2022
  • 3 replies
  • 565 views

Hi, I have a laravel application and I want to make a webhook where I can get my gmail data using this webhook API and save to my database. But how do I do that ? please help me if you can

 

Thanks

icon

Best answer by robschmidt 1 August 2022, 04:04

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +9

Hi @draconeo73 

If your database is MySQL, Firebase or PostgreSQL, zapier has dedicated app for that to interact with. You can create a Zap like:

  1. When there is a new Gmail email (or use matching filter to only send specific emails)
  2. Add new row in MySQL/Firebase/PostgreSQL

 

Thanks for your reply I’m using Laravel Forge and got this error 

 

Userlevel 7
Badge +12

Hi @draconeo73 

Laravel is just a framework and natively supports a few different database options… 

  • MySQL (8.0)
  • MariaDB (10.6)
  • PostgreSQL (12)
  • PostgreSQL (13)
  • PostgreSQL (14)

The solution offered by @robschmidt is a great way to use Zapier to store information from emails that match a search into your database. Do you know which database you set up in your app? Sometimes it can be helpful to connect to a GUI interface of your Database using a tool such as TablePlus before attempting to connect via Zapier.