Get New Tweets from Twitter + Add to CRM Automation Issue

Hi guys

I am trying to get only the newest tweets based on a query from twitter, check the username in my crm nimber and if the username and other conditions are false, it will check tweet text for text classification in Monkeylearn and if it passes, it will the add the Tweet and the user to my CRM as a contact.

I found another post that referenced this workflow “https://n8n.io/workflows/875” but I need to iterate each individual tweet through the workflow. If I send all the newest tweets through at once the Nimble crm lookup returns multiple results instead of one and then breaks the rest of the flow. If I return one tweet (limit = 1) in the twitter node instead of multiple then (>50) then it works fine.

Noticed that Nimble and MonkeyLearn are custom nodes. It’s possible that the execute method it’s not iterating per each item in the input? If that is the case, you can either update the nodes to iterate or use a splitbatches node after the Twitter node.

1 Like