Skip to main content
Best answer

How to create Gmail data webhook for a Laravel application


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

Best answer by robschmidtBest answer by robschmidt

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

 

View original
Did this topic help you find an answer to your question?
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

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • Answer
  • August 1, 2022

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

 


  • Author
  • Beginner
  • 1 reply
  • August 1, 2022
Thanks for your reply I’m using Laravel Forge and got this error 

 


GetUWired
Forum|alt.badge.img+12
  • Zapier Expert
  • 1030 replies
  • August 1, 2022

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.