Skip to main content

As per subject, the hard part is “with multiple dynamic tags”.

Procedures:
I read notes from Notion, and use Zapier AI to get a comma separated string (for example, “working,swimming” that is intended to be split to be passed as tags, and create a Time Entry (with other fields incluidng starting time and duration etc.) with each of these tags. I also use a loop to Create Tag for each of the split tags for Toggl (so that “working” and “swimming” become existing tags for Toggl), as Toggl seems to only accept existing tags.

 

Attempts:

I tried Using a Formatter Step to split that comma-separated string with All (as Line-items), and if I pass its output to Tags when creating the Time Entry, it will still create a single tag that is the big comma separated string (“working,swimming” as a single tag if it exists), not the individual split one.

 

I tried Using a Formatter Step to split that comma-separated string with All (as separate fields), then try to pass each of them towards Time Entry. Firstly, I still get invalid tags error despite all tags to be passed exist in Toggl. Also, in this approach, what if the number of tags are different?

 

I also tried to create the Time Event without tags first (which worked, this also means I don’t have problem with other fields), and then tried to find that Time Event to edit it to add tags presumbly in a loop, however, it seems that Zapier does not support editing a Time Event for Toggl yet and there isn’t a control that can do this. You can only create a new Time Event via Toggl, not editing one.

 

Maybe Webhooks are the only way to achieve this, but I find a deep learning curve to get it right, and I want to make sure if this is the only way to go. Thanks!

Hi ​@YYYDDD,

 

Welcome to the Community.

 

To connect Square's sandbox environment to Zapier, create a Square Developer Account and a Sandbox Test Account via the Square Developer Dashboard. Then, retrieve your Sandbox Access Token from your application's "Credentials" tab. In Zapier, start creating your Zap, select Square, and click "Connect an Account." Instead of signing in usually, choose "Use a Personal Access Token," enter your Sandbox Access Token, and click "Yes, Continue." This will connect your Square Sandbox to Zapier, allowing you to proceed with your Zap setup.

 

Let us know if you have any further questions. Looking forward to your response.


Hey there, ​@YYYDDD 👋

I see that you also reached out to our Support team about this, and they suggested using a lookup table to pass the relevant tag IDs instead of their names. I’ll share the solution from the Support team here in case it’s helpful for others who come across this in future:

I understand that you are having trouble with your Zap not passing the tag fields correctly to Toggl Track. After reviewing your Zap, it looks like you were attempting to pass the tag values as static values.
 
To make the tag field work dynamically, you need to use custom values instead, passing the tag ID rather than the tag name.
 
Tag ID | screenshot 
8c2c2842e9b9e6c49ddf169aecc9f86e.png
 
In order to do this correctly, you will need to add a lookup table to transform the values of the tags to their ID, then pass these ID values to the custom values of the tag field in Toggle Track.
 
Create Lookup Tables in Zaps


Feel free to reach out if there’s anything else we can help with. In the meantime, happy Zapping! ⚡