Problem creating a thread on X (twitter)

Describe the problem/error/question

hey there, i’m trying to create a worflow to publish thread on twitter, but the id of the previous tweet is not being take into account, so i publish several independents tweets. i try multiple ways, this one seems to me to be the most logical. but it doesn’t work. i’m new to n8n so i might be doing something wrong. thanks for your help!

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

[

{

"tweetNumber": 2,

"tweetText": "tweet content 1"

},

{

"tweetNumber": 3,

"tweetText": "tweet content 2"

},

{
"tweetNumber": 4,

"tweetText": "tweet content 3"

},

{

"tweetNumber": 5,

"tweetText": "tweet content 4"

},

{

"tweetNumber": 6,

"tweetText": "tweet content 5"

},

{

"tweetNumber": 7,

"tweetText": "tweet content 6"

},

{

"tweetNumber": 8,

"tweetText": "tweet content 7"

},

{

"tweetNumber": 9,

"tweetText": "tweet content 8"

},

{

"tweetNumber": 10,

"tweetText": "tweet content 9"

},

{

"tweetNumber": 11,

"tweetText": "tweet content 10"

}

]

Information on your n8n setup

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

Hey @senda,

It took a bit of thinking but the workflow below should allow you to create a thread, Using the below I was able to create this tweet: x.com

Hey @Jon ,

thank you!! i’ll try this!