With the choice of public “channels” and private messaging, people have the freedom to speak publicly or work one-on-one with their coworkers easily. It’s a great platform to communicate and collaborate through instant messaging and video conferencing, which many remote teams enjoy as a new mode of communication. Call it whatever you want, this won’t affect automations.ħ.Slack is a popular communication platform used by many remote workers. All that’s left is to save our Slack threads in Airtable.ħ.a) Either make a new base and create a table called “Slack Threads” or simply add this table to the base you created earlier.
Slack download conversaion record code#
'Authorization': 'Bearer xxxxxxxxxxxxxxxx',īy now, you’ve replaced the following in the code section in the Zapier Javascript step:Ĭongratulations on making it this far, about 90% of everyone else has drowned themselves in rum by now.
Now that you’ve already copied the base ID, in Zapier, go to the Javascript step (Code by Zapier) and paste your base ID in the code section that looks like what you see below in the “Code by Zapier”.So off we go.ĥ.a) In Slack, go to “Settings & administration > Manage apps
In order for us to actually connect all that code we did previously, we need a Slack app as a means of authentication. Link to your Airtable base & table: fetch(`Īirtable bearer token: 'Authorization': 'Bearer xxxxxxxxxxxxxxxx',īut before we can replace anything, we need to move on to the next step and create a Slack app which we will use strictly for authentication purposes. Slack App Authentication token: token: 'xoxb-xxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx', Take a look at the code you just pasted, there are three sections of code marked with “xxxx” that represent links/tokens that we will need to come back to and replace later: This amazing code was provided Kevin Ingersoll, a member of the Calm Company Fund community. In either case, call the table “Slack IDs” so it looks like this:Ĥ.c) Paste the below code in the code section: const getReplies = async (channel, ts) => At this point, you can either create a new base called “Slack Directory” or add a table to a base that already exists.It all starts with a directory in Airtable that contains the users in our Slack. Create a Slack Directory in Airtableġ.a) Since we want to export threads from Slack that include multiple users (Because it’s a thread), then we need to know who said what in the thread. Our step by step guide to export Slack threads You can choose anything else Zapier compatible Airtable: For this tutorial, we’re going to use Airtable as a place to store exported threads.Zapier: Automate and connects the apps.Slack: Obviously all starts there since this is about storing Slack threads. What tools will you need to export Slack threads? You’re running an amazing community on Slack and want to export unique member threads for later use in blog posts or newsletters for your members.You’re in a large team using Slack and want to save those precious team threads for later.You’re a founder using Slack and don’t want to lose any key data being shared.The thread archiver is a wonderful tool to export conversations out of Slack for you if: