Skip to content

WombatTechnology/fire-form-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fire-form-functions

Cloud functions for fire-form

To use this repo, you need to setup fire-form.

Currently available

  • Notify Slack when contact form submitted

Prerequisites

✅ Create incoming web hook of slack. Detail here

✅ Make firebase project to Blaze. (It’s necessary for deploy cloud function)

✅ Login your fire base account with firebase login command.

$ firebase login

Notify Slack contact form submitted

Set your Firebase project ID in .firebaserc

{
  "projects": {
    "default": "your_project_id_here"
  }
}
  1. Then set slack incoming web hook url in index.ts
const webhook = new IncomingWebhook("https://hooks.slack.com/services/your_web_hook_url"); 
  1. Deploy functions
firebase deploy

image

That’s all! Check a message send to the channel.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published