---
title: "How to integrate EasyTime with Slack using Zapier"
canonical: "https://www.techtime-initiative.com/space/EasyTime/4621037/How%20to%20integrate%20EasyTime%20with%20Slack%20using%20Zapier"
format: markdown
---
Now you can automatically track your time in Slack. While we do not offer an official Slack Integration yet, you can quickly and easily build your own for your organisation using Zapier. You can use Zapier to create an automation that is triggered by a Slack event and then sends a request to EasyTime's Tracking API.

### Before you get started: 

- You will need a [Zapier](https://zapier.com/) account. Zapier is free to get started, but monthly usage is capped at a 100 task. See more information about [Zapier's pricing here.](https://zapier.com/app/pricing)
- You will need to have permission to add apps to your Slack workspace.
- You will need the[ EasyTime App ](https://marketplace.atlassian.com/apps/1221009/easytime-time-tracker-automatic-jira-time-tracking?tab=overview&hosting=cloud)installed on your Jira.

### Create your 'Zap' 

From the Zaps menu click the 'Create' button and select 'New Zap.'

![Capture 2023-09-06 at 13.30.07.png](media://a5ee6e7e-a122-4b62-a376-5747d738f4d7)

### Create your 'Trigger'

1. Select 'Trigger.'
2. Select 'Slack' from the menu.
3. Select 'New Public Message Anywhere' from the 'Event' dropdown menu in the Trigger options.
4. If you haven't connected Slack to Zapier yet, click 'Sign In' under the 'Account' section and follow the on-screen instructions to connect Zapier to your Slack workspace.
5. Follow the prompts to test your Trigger.

![Capture 2023-09-06 at 13.43.49.png](media://8d8678d5-940f-4b1b-8fd6-88481eacba88)

![Capture 2023-09-06 at 13.37.39.png](media://849e6e14-e52a-4f77-a155-3d16f7107d0a)

![Capture 2023-09-06 at 13.34.05.png](media://b8a0f160-169b-4f4a-a9c5-000d0089ed22)

![Capture 2023-09-06 at 13.34.02.png](media://b3d97524-cde4-45d8-9c16-f1fcb0cddb69)

### Create your 'Action'

![Capture 2023-09-06 at 14.13.46.png](media://bfe3b08c-48ef-4d07-8ed2-bc3090910696)

![Capture 2023-09-06 at 14.13.47.png](media://d749d58f-a822-4600-925d-05d450cd6ad2)

![Capture 2023-09-06 at 14.21.58.png](media://c698ded1-77db-42a7-8529-d684113ff43c)

![Capture 2023-09-06 at 15.21.59.png](media://854118fa-3904-44fc-9e2a-e42e4a63d17d)

![Capture 2023-09-06 at 14.47.18.png](media://500dd757-e21d-4a1c-97d3-18e63b485781)

1. Select 'Action.'
2. Select 'Code by Zapier' from the menu.
3. Select 'Run JavaScript' from the 'Event' dropdown menu in the Action options.
4. Follow the prompt and create two 'Input Data' fields from the 'Channel Name', 'User Real Name', and 'Text' fields given by Slack as shown below. You should see some sample data from your test trigger.
5. Copy and paste the following code into the 'Code' section of your 'Action' options.
  
6. If you are on Jira Cloud please use “https://cloud.techtime.nz/cloud/easytime” as the base URL of the API request in the code block. Use your Jira base URL if you are using Jira Server of Data Center.