Set a Google Task

It's really easy to set a Google Task via the API with this 2 step. The first step returns your default list Id, and the second step creates the task. The data for the second step needs to be submitted in a JSON format.
Import Workflow

-------------------------------------------------------------------------------- subject: cranq.ai flow export version: 1.0 title: Tasks ------------------------------------ BEGIN ------------------------------------- eyJmbG93Ijp7ImlkIjoiaWQtMDAwMDAwIiwidGl0bGUiOiJUYXNrcyIsImRlc2NyaXB0aW9uIjoiVGFz a3MiLCJjcmVhdGVkQXQiOjE2OTg5MjY4NzI5MDQsInVwZGF0ZWRBdCI6MTcwNDgxODkwMDQwMCwiYWNj ZXNzZWRBdCI6MTcwNDgxODk5MzEzMn0sImdyb3VwcyI6W10sInN0ZXBzIjpbeyJpZCI6ImlkLWE5YjIy NiIsInRpdGxlIjoiR2V0IHRoZSBkZWZhdWx0IGxpc3QgSWQiLCJkZXNjcmlwdGlvbiI6IkdldCB0aGUg ZGVmYXVsdCBsaXN0IElkIGZvciBteSBnb29nbGUgdGFza3MiLCJmbG93SWQiOiJpZC0wMDAwMDAiLCJp bmRleCI6MSwiaW5wdXRzIjp7fSwib3V0cHV0cyI6eyJpZC02YzI0MmYiOnsiaWQiOiJpZC02YzI0MmYi LCJuYW1lIjoiZGVmYXVsdExpc3RJZCIsImRlc2NyaXB0aW9uIjoiVGhlIGRlZmF1bHQgbGlzdCBJZCBm b3IgZ29vZ2xlIHRhc2tzIiwidHlwZSI6InN0cmluZyIsImlzQm91bmRUb0NvZGUiOnRydWV9fSwiaW1w bGVtZW50YXRpb24iOnsiY29kZSI6ImNvbnN0IGF4aW9zID0gcmVxdWlyZSgnYXhpb3MnKTtcbmNvbnN0 IEJBU0VfVVJMID0gJ2h0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL3Rhc2tzL3YxJztcblxuYXN5bmMg ZnVuY3Rpb24gZ2V0RGVmYXVsdExpc3RJZCgpIHtcbiAgICBjb25zdCByZXNwb25zZSA9IGF3YWl0IGF4 aW9zLmdldChgJHtCQVNFX1VSTH0vdXNlcnMv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sLCBkYXRhKTtc biAgICAgICAgcmV0dXJuIHt0YXNrSWQ6IHJlc3BvbnNlLmRhdGEuaWR9O1xuICAgIH0gY2F0Y2ggKGVy cm9yKSB7XG4gICAgICAgIGlmIChlcnJvci5yZXNwb25zZSAmJiBlcnJvci5yZXNwb25zZS5zdGF0dXMg PT09IDQwMykge1xuICAgICAgICAgICAgdGhyb3cgbmV3IEVycm9yKGVycm9yLnJlc3BvbnNlLnN0YXR1 c1RleHQpO1xuICAgICAgICB9XG4gICAgICAgIHRocm93IGVycm9yO1xuICAgIH1cbn0iLCJlbnRyeUZ1 bmNOYW1lIjoiY3JlYXRlVGFzayIsImRlcGVuZGVuY2llcyI6WyJheGlvcyJdLCJzdW1tYXJ5IjoiQ3Jl YXRlcyBhIG5ldyB0YXNrIGluIHRoZSBwcm92aWRlZCBnb29nbGUgdGFzayBsaXN0IElkLCB3aXRoIHRo ZSBwcm92aWRlZCBUaXRsZSBhbmQgRGVzY3JpcHRpb24uIiwiYXBpcyI6WyJnb29nbGV0YXNrcyJdLCJw YXJhbWV0ZXJzSGFzaCI6IjhjOTliMjM5YTMwNDJlMjA1MzA3MGM5MTJlMGE0MTc2MDUzYmFiMzcifX1d fQ== ------------------------------------- END --------------------------------------

Inputs
  1. title
  2. description
  3. listId

AI Description

Get the default list Id for my google tasks

Required connections
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected
Connected