# Fibery Toggl Integration

**URL:** https://community.fibery.io/t/fibery-toggl-integration/4151
**Category:** Fibery Showcase
**Tags:** integration
**Created:** [March 18, 2023, 4:29pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151 "2023-03-18T16:29:01Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)
#### Post date: [March 18, 2023, 4:29pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/1 "2023-03-18T16:29:01Z")

</div>

Hi There,

## Intro

For those of you I haven’t met - I’m Maxim, Co-Founder of Reify Academy. We have been official [Fibery.io](http://Fibery.io) partner since 2021.  
Part of our product offering is custom integrations for [Fibery.io](http://Fibery.io). As part of our giving back to community and supporting Fibery Team excellent work over the last 2 years → we have made our Fibery Toggl Integration available for everyone to use and learn from.

## What can I do with it?

- You can sync the following types from Toggl - clients, workspaces, time entries, projects.
- You can start timer with external action
- You can stop currently running timer with external action

## How to get started

Easiest way to get started is to follow the [Demo](https://youtu.be/oqJ253GK3E8)  
Then if you a tech savvy you can explore [the source code](https://github.com/reify-academy/fibery-toggl-integration)  
If you just want to use hosted version the url is the following `https://fibery-toggl-integration.deno.dev/` - add this as custom integration in Fibery.

## FAQ

**Why do you need my toggl token?**  
It’s the easiest way for us to access your toggl account. if you have concerns about it you can ask your tech team to examine the code on Github. We don’t log your token or use it in anyway other than syncing your data to your fibery account.

**I need to sync something extra from toggl**  
For that you can create an [issue](https://github.com/reify-academy/fibery-toggl-integration/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) in our repository and explain it there. Alternatively, you can also comment in this thread.

**It doesn’t work**  
Create an issue or comment there.

**I want to sync multiple users**  
We haven’t tried this ourselves. But you should be able to add multiple accounts to an integration. If do try and it works, please let us know 😉

We are looking forward to your feedback.

---

<div class="post-metadata">

### Author: ![billyjackson](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/billyjackson/32/6345_2.png) [@billyjackson](https://community.fibery.io/u/billyjackson)
#### Post date: [March 20, 2023, 9:01pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/2 "2023-03-20T21:01:38Z")

</div>

Maxim, this is phenomenal!

A few questions as I am playing around and starting implementation:

1. Is there a way to link the Log to the associated Project (and Client, etc) Presently, I am not seeing a “Project” field in the Time Log, or an easy ID with which to create one.
2. I have added multiple accounts successfully, and everything seems relatively smooth. A few small details:

- I cannot seem to find a way to name the separate Toggl Accounts when adding the integration, or change the name after the fact. The result is that I have multiple Toggl Accounts named “Test Toggl Account”  

- When syncing multiple accounts, they all sync their projects and clients separately; however, in many cases these separate accounts draw from a shared workspace with shared projects and clients. Is there a good flow or method to ensure that all projects live within the same database?

1. When syncing multiple accounts, their separate time-logs go into separate databases. Do you have any ideas on how to treat them as a singular group? Perhaps with automations to add them to one single combined database for the organization (i.e. Person A Logs → All TimeLogs; PERSON B Logs → All Timelogs; etc.)

Thank you again for the amazing work!

---

<div class="post-metadata">

### Author: ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)
#### Post date: [March 21, 2023, 3:51am UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/3 "2023-03-21T03:51:20Z")

</div>

Thanks for your feedback, @billyjackson

1. Fixed in the latest version - project has now project\_id field and time entry has project\_id. you can link them by that field.
2. Fixed in the latest version - you might need to reconnect account to get them to display full username(if specified) or email.
3. I think you are on the right track about using automation to add them to the same organisation. You can link them to the same organisation using automation. I presume you can do something like that:  
Link time entries to workspace/project based on workspace id/project id → Link that project to company. In company you should be able to create lookup which will get relationships of specific workspace.

> [@billyjackson](#):
>
> When syncing multiple accounts, they all sync their projects and clients separately; however, in many cases these separate accounts draw from a shared workspace with shared projects and clients. Is there a good flow or method to ensure that all projects live within the same database?

Can you clarify what happens in that case ? Does it duplicate the same client/project multiple times ?  
I presume if you know you are sharing the same client you can simply not sync client/projects/workspaces under different account and only let one account sync all of them.

---

<div class="post-metadata">

### Author: ![billyjackson](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/billyjackson/32/6345_2.png) [@billyjackson](https://community.fibery.io/u/billyjackson)
#### Post date: [March 21, 2023, 3:51pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/4 "2023-03-21T15:51:54Z")

</div>

Amazing, thank you so much!

> [@tpaktop](#):
>
> Fixed in the latest version - project has now project\_id field and time entry has project\_id. you can link them by that field.

I’m seeing the Project\_Id pulled in on the Time entries now, but the Project ID field for Projects is blank on my end.

> [@tpaktop](#):
>
> Fixed in the latest version - you might need to reconnect account to get them to display full username(if specified) or email.

Working perfectly. Brilliant!

> [@tpaktop](#):
>
> I think you are on the right track about using automation to add them to the same organisation. You can link them to the same organisation using automation. I presume you can do something like that:  
> Link time entries to workspace/project based on workspace id/project id → Link that project to company. In company you should be able to create lookup which will get relationships of specific workspace.

Appreciate the confirmation!

> [@tpaktop](#):
>
> Can you clarify what happens in that case ? Does it duplicate the same client/project multiple times ?  
> I presume if you know you are sharing the same client you can simply not sync client/projects/workspaces under different account and only let one account sync all of them.

Yes of course this is the way. I was overcomplicating it. Because of the universality of Project\_ID and Client\_ID, I can just bring this in once.

Thanks again Maxim!

---

<div class="post-metadata">

### Author: ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)
#### Post date: [March 23, 2023, 12:15am UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/5 "2023-03-23T00:15:45Z")

</div>

> [@billyjackson](#):
>
> I’m seeing the Project\_Id pulled in on the Time entries now, but the Project ID field for Projects is blank on my end.

Let me double check. Maybe toggl uses different field name.

---

<div class="post-metadata">

### Author: ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)
#### Post date: [March 23, 2023, 11:59am UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/6 "2023-03-23T11:59:41Z")

</div>

> [@billyjackson](#):
>
> I’m seeing the Project\_Id pulled in on the Time entries now, but the Project ID field for Projects is blank on my end.

@billyjackson fixed. should see project\_id id.

---

<div class="post-metadata">

### Author: ![billyjackson](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/billyjackson/32/6345_2.png) [@billyjackson](https://community.fibery.io/u/billyjackson)
#### Post date: [March 23, 2023, 4:47pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/7 "2023-03-23T16:47:49Z")

</div>

Heck yeah. Works perfectly now!

---

<div class="post-metadata">

### Author: ![Mikhail](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mikhail/32/7493_2.png) [@Mikhail](https://community.fibery.io/u/Mikhail)
#### Post date: [August 28, 2023, 10:19am UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/8 "2023-08-28T10:19:09Z")

</div>

@tpaktop Добрый день Максим!  
Спасибо огромное за это решение!

Есть ли возможность, чтобы при нажатии кнопки - не выскакивало каждый раз попап с запросам подтвердить аккаунт в toggl?

Дело в том, что если один аккаунт, то это получается лишнее действие, которое мягко говоря мешает.

Is there any way to remove the popup asking to confirm the account when the button is clicked?

---

<div class="post-metadata">

### Author: ![tpaktop](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tpaktop/32/6394_2.png) [@tpaktop](https://community.fibery.io/u/tpaktop)
#### Post date: [September 1, 2023, 12:52pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/9 "2023-09-01T12:52:50Z")

</div>

Hi @Mikhail,  
У сожалению это ограничение fibery так что вопрос скорее к ним.  
Лучше решение на данный момент это добавить запрос на фичу в fibery.  
Unfortunately, it’s fibery limitation which we cannot do much about at this stage.  
The best solution I can think off at this stage is to create feature request for fibery team to adjust UI

---

<div class="post-metadata">

### Author: ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)
#### Post date: [September 1, 2023, 1:03pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/10 "2023-09-01T13:03:52Z")

</div>

I believe that the reason it pops up is because the choice of accounts is per user, so it can’t be ‘hard-coded’ into the button (since one user might not have permission for that account).  
But I could imagine that it would be better to not ask if there is only one option for a given user to choose.

---

<div class="post-metadata">

### Author: ![Mikhail](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mikhail/32/7493_2.png) [@Mikhail](https://community.fibery.io/u/Mikhail)
#### Post date: [September 1, 2023, 1:07pm UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/11 "2023-09-01T13:07:39Z")

</div>

> [@Chr1sG](#):
>
> there is only one option for a given user to choose.

Yes. Just one account/person - there’s no point in asking.

---

<div class="post-metadata">

### Author: ![Mikhail](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/mikhail/32/7493_2.png) [@Mikhail](https://community.fibery.io/u/Mikhail)
#### Post date: [September 10, 2023, 7:22am UTC](https://community.fibery.io/t/fibery-toggl-integration/4151/12 "2023-09-10T07:22:55Z")

</div>

> [@tpaktop](#):
>
> The best solution I can think off at this stage is to create feature request for fibery team to adjust UI

> [@Custom app and connecting accounts](https://community.fibery.io/t/custom-app-and-connecting-accounts/5111):
>
> Hi! One inconvenience came out of this thread: [https://community.fibery.io/t/fibery-toggl-integration/4151/9?u=mikhail](https://community.fibery.io/t/fibery-toggl-integration/4151/9) If you use only ONE ACCOUNT, you get an unnecessary action, which, to put it gently, is very annoying. Each time I have to click the “Run” button again to confirm the Toggl account. But I only have one. Why would I do that? [10141QuickView] Is there any way to remove the POPUP asking to confirm the account when the button “Start timer” is clicked? It is very annoying. …
