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
- Host: GitHub
- URL: https://github.com/mickamy/figma-slack-integration
- Owner: mickamy
- License: mit
- Created: 2020-07-18T07:43:19.000Z (almost 6 years ago)
- Default Branch: develop
- Last Pushed: 2022-07-13T16:16:31.000Z (almost 4 years ago)
- Last Synced: 2025-04-29T08:43:29.705Z (about 1 year ago)
- Topics: figma, slack
- Language: Ruby
- Homepage:
- Size: 41 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 }
```