An open API service indexing awesome lists of open source software.

https://github.com/mickamy/figma-slack-integration

Post message to Slack channel when someone comments on a Figma file
https://github.com/mickamy/figma-slack-integration

figma slack

Last synced: 4 months ago
JSON representation

Post message to Slack channel when someone comments on a Figma file

Awesome Lists containing this project

README

          

# figma-slack-integration

Post message to Slack channel when someone comments on a Figma file.
It uses figma webhook V2.
See docs for details.
https://www.figma.com/developers/api#webhooks_v2

## How to deploy

Assume you have installed ruby 2.7.0 or newer.

```
# Register your figma webhook
$ curl -X POST \
-H 'X-FIGMA-TOKEN: ' \
-H "Content-Type: application/json" \
'https://api.figma.com/v2/webhooks' \
-d '{ \
"event_type":"FILE_COMMENT", \
"team_id":"", \
"endpoint":"", \
passcode":"" \
}'

$ aws cloudformation package \
--template-file template.yml \
--output-template-file serverless-output.yml \
--s3-bucket { BUCKET_NAME }

$ aws cloudformation deploy \
--template-file serverless-output.yml \
--stack-name FSIFunction \
--capabilities CAPABILITY_IAM \
--parameter-overrides SlackWebhookUrl={ SLACK_WEBHOOK_URL } Passcode={ PASSCODE }
```