Skip to content

Commit

Permalink
Merge pull request #6 from mailsac/slack_webhook
Browse files Browse the repository at this point in the history
Slack webhook
  • Loading branch information
mjmayer committed Sep 25, 2019
2 parents f19ac72 + c84fada commit 45ee235
Show file tree
Hide file tree
Showing 10 changed files with 78 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ in the top left corner.
services/mailforwarding
services/sendingmail
services/mailredirect
services/slack_webhook/slack_webhook
services/private_domains/private_domains

.. toctree::
Expand Down
Binary file added services/create_slack_app.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_activate_webhook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_copy_webhook_url.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_select_app.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_select_channel.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_select_email.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added services/slack_select_incomming_webhook.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions services/slack_webhook.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
.. _doc_slack_webhook:

Slack Integration
=================

Mailsac integrates seamlessly with Slack. Any Mailsac private address or domain
can be configured to send email to Slack.

Create Slack Application
------------------------

All configuration steps in this section take place on Slack's website. You will
need a Slack username and workspace setup.

**1.** Define an app name for your workspace in the `Slack API
portal <https://api.slack.com/apps/new>`_.

.. figure:: create_slack_app.png
:align: center
:width: 400px

You can call your app Mailsac or customize the name.

**2.** Configure Webhooks for your new Slack app

**A.** Select your new Slack app from from this
`list <https://api.slack.com/apps>`_.

.. figure:: slack_select_app.png
:align: center
:width: 400px

**B.** Select *Incoming Webhooks* from the *Add features and functionality* dropdown.

.. figure:: slack_select_incomming_webhook.png
:align: center
:width: 400px

**C.** Toggle *Activate Incomming Webhooks* to switch on and select *Add New Webhook to Workspace*.

.. figure:: slack_activate_webhook.png
:align: center
:width: 400px

**D.** Configure the Webhook Slack channel by selecting the channel you want the
Mailsac Webhook to post to.

.. figure:: slack_select_channel.png
:align: center
:width: 400px

**E.** Copy Webhook URL

.. figure:: slack_copy_webhook_url.png
:align: center
:width: 400px

Configure Mailsac Webhook Forwarding
------------------------------------

**1.** Select settings for an email address from the Mailsac `console <https://mailsac.com/addresses>`_
to configure Slack integration.

.. figure:: slack_select_email.png
:align: center
:width: 400px

**2.** Paste Webhook URL to enable forward to Mailsac

.. figure:: slack_webhook_input.png
:align: center
:width: 400px

**3.** Send test email to your Mailsac address you configured for Webhooks to
verify Mailsac can post to the Slack Webhook.


Binary file added services/slack_webhook_input.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45ee235

Please sign in to comment.