web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Todoist - When a task ...
Power Automate
Answered

Todoist - When a task is completed (V2) (Preview) - BUG

(0) ShareShare
ReportReport
Posted on by 20

hi @v-bacao-msft,

 

I discovered a bug using the v2 version of the Todoist connector.

 

The trigger When a task is completed (V2) (Preview) returns this body

{
"content": "Stretching & Breathing",
"meta_data": null,
"user_id": 5123746,
"task_id": 3463747610,
"project_id": "2215864327",
"completed_date": "2019-11-05T08:35:51Z",
"id": "3356452419"
}

 

Consuming the result in a next step, into the property itemTaskId, I got the value of id, and not task_id.

I don't know what is id, but I need the task id.

Screenshot_1.png

 

The current error message is: 

image.png

 

Could you please fix it?

 

 

 
Categories:
I have the same question (0)
  • JatinSanghvi Profile Picture
    on at

    Thanks for reporting the issue. It seems the action internally sends request to the Todoist Sync API documented here: https://developer.todoist.com/sync/v8/#get-all-completed-items. I have requested the engineer who worked on the V2 action to take a look, and will update you once I get a response.

     

    Do you know a situation when the content of 'id' and 'task_id' properties be different? Since, the example in the documentation page shows same content of both 'id' and 'task_id' properties.

  • JatinSanghvi Profile Picture
    on at

    Update: We do not know when the values of two properties will differ, and when they do, what each of those two values signify. I have sent a request for clarification to the Todoist service.

  • mirkobersani Profile Picture
    20 on at

    As far as I know, the most relevant one is task_id.

    Apparently id is useless, but ask Todoist for confirmation.

    They have just updated the main version of the software and it could be a new subject.

  • JatinSanghvi Profile Picture
    on at

    @mirkobersani - Can you see if following workaround works? I haven't tested it so please let me know if you see any error.

    Add 'Parse JSON' action to the Flow. Set the 'Content' field of action to 'A Todoist Items response object'. For schema, select 'Generate from sample' and use a response similar to below:

    {
     "items": [{
     "content": "Stretching & Breathing",
     "meta_data": null,
     "user_id": 5123746,
     "task_id": 3463747610,
     "project_id": "2215864327",
     "completed_date": "2019-11-05T08:35:51Z",
     "id": "3356452419"
     }
     ]
    }

    Then you should be able to access 'task_id' property and perform other operations within an 'Apply for each' action with 'items' selected from 'Parse JSON' action output. See below screenshot:

    ParseJson.PNG

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @mirkobersani ,

     

    You could get task id via expression:

    60.PNG

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard