Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Send button click stats to airtable #57

Open
rickr opened this issue May 22, 2017 · 0 comments
Open

Send button click stats to airtable #57

rickr opened this issue May 22, 2017 · 0 comments

Comments

@rickr
Copy link
Contributor

rickr commented May 22, 2017

When a member clicks on a button we currently send a message to the community channel.

Instead we should update an airtable.

To create a record you'll need an API key, base ID, and table name.

The API key can be accessed in production via the environment variable AIRTABLE_API_KEY.
The base ID can be accessed in production via the environment variable AIRTABLE_USERS_BASE_ID
The table name is OperationCodeBotStats.

The table has 3 columns:
user (string) the user that clicked the button
button (string) - the button that was clicked
clicked_at (date) - when the button was clicked

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant