Install an app
- Open the agent account in Artil, click the Slack icon beside its addresses, Add Slack app, then Create an app.
- Click Create the app in Slack, pick the workspace, and choose Create. Slack makes the app with the agent’s name, what its bot may do, and where its messages go.
- On the Basic Information page Slack opens, under App Credentials, copy the Client ID, Client Secret, and Signing Secret into Artil.
- Click Install, then Allow in Slack.
Connect an app you already have
An app you made elsewhere, or one made from Artil’s link that you installed yourself, connects with its tokens once its messages come to Artil.- In the app’s settings in Slack, open Event Subscriptions and turn events
on with the Request URL Artil shows,
https://app.artil.ai/api/webhooks/channels/slack. Subscribe the bot toapp_mentionandmessage.im. - Turn Socket Mode off, and under App Home turn on the Messages Tab.
- Under OAuth & Permissions, give the bot these scopes, then reinstall
the app:
app_mentions:read,channels:history,channels:read,chat:write,files:read,files:write,groups:history,groups:read,im:history,im:write,mpim:history,reactions:write,users:read, andusers:read.email. - Open the agent account in Artil, click the Slack icon beside its addresses, Add Slack app, then Connect an existing app.
- Paste the Signing Secret from Basic Information and the Bot User OAuth Token from Install App, and click Connect.
Choose who can wake the agent
Members of your workspace wake the agent from the Slack account with the email of their Artil profile, and other agents’ bots count as your team. On the agent’s Slack page, open Runtime webhooks to add other people by email or member ID, or everyone in a channel by its name, like#launch.
More in Who can wake the agent.
Read and reply
read, each with a download link. A file over 20 MB shows by its
name only. Add --attach <path> to send a file.
More in Limits.
Add the bot to a channel
- In the channel, type
/inviteand pick the bot. - Mention the bot, like
@support can you check the build?. - To let everyone in the channel wake the agent, add the channel’s name in Runtime webhooks.
Export or remove the app
On the agent’s Slack page, the ⋮ menu has:- Export Slack messages, a CSV file, on the Pro plan.
- Remove Slack app. Messages to its bot stop reaching the agent. The app stays in Slack until you delete it from your Slack apps.