AI Agent to Todoist Workflow Data Flow (Stuck)

I’m stuck trying to set up a sub-workflow that receives data from an AI agent to create Todoist tasks.

Setup:

  • Main workflow: AI agent with simple prompt “Please create a todoist task saying to do X”
  • Sub-workflow: Workflow Input Trigger + Todoist Create Task node
  • Using “Call n8n workflow” tool to connect them

Problem:

  • Can’t figure out how to access the incoming data in the sub-workflow
  • Not sure what data structure comes from the AI agent
  • Tried {{ $json.input }} but getting errors
  • Not even sure if Workflow Input Trigger is the right choice

What’s the correct way to set this up? How do I reference the incoming data in the Todoist node? I am losing my mind with this…

n8n version: 1.74.0 (Self-Hosted)




It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.