Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Slack Webhook

Publishes results from a form (contact, etc) to a slack channel.

Usage

Step 1: add your incoming slack webhook endpoint in the plugin configuration Step 2: add these two lines in your form process:

- slack:
    body: '{% include ''forms/data.txt.twig'' %}'

See a Contact Page example from the official documentation.

You need to add the slack support wherever your want in the form process.

Please be aware that form processes are computed sequentially, always trigger actions after the captcha verification for security purposes.

Installation

Using GPM (preferred):

The simplest way to install this plugin is via the Grav Package Manager (GPM) through your system's Terminal (also called the command line). From the root of your Grav install type:

$ bin/gpm install slack-webhook

This will install the Slack Webhook plugin into your /user/plugins directory within Grav. Its files can be found under /user/plugins/social-seo-metatags.

Manual Installation:

In /user/plugins folder, apply the following command:

git clone https://github.com/Orbmancer/grav-plugin-slack-webhook slack-webhook

This will clone this repository into the slack-webhook folder.

Troubleshooting

You can open a new issue if you have any troubles, and I'm reachable on twitter @damien_bry.

Contributing

Feel free to fork and submit a pull request if you want to upgrade the plugin yourself. All your suggestions are welcome.

About

Publishes results from a form (contact, etc) to a slack channel πŸ”Œ

Resources

License

Packages

No packages published

Languages