Task: Post a new Tweet to Discord

n8n workflow JSON:
{"id":"4","meta":{"instanceId":"d03f56986123a126f8f06c2223d4901e7974bd2ef3101cfbe53609b64aa1a4dc"},"name":"Post a new Tweet to Discord","tags":[],"nodes":[{"id":"d95bf515-e133-414c-acbf-cdcc70fd2432","name":"run-every-1-min","type":"n8n-nodes-base.cron","position":[-880,600],"parameters":{"triggerTimes":{"item":[{"mode":"everyX","unit":"minutes","value":1}]}},"typeVersion":1},{"id":"4c3fe366-b77f-43b1-85de-a0099832cff0","name":"setup","type":"n8n-nodes-base.set","position":[-720,600],"parameters":{"values":{"string":[{"name":"searchstring","value":"n8n"},{"name":"webhookurl","value":"https://discord.com/api/webhooks/xxxxxx/xxxxxx"}]},"options":{}},"typeVersion":1},{"id":"082cc382-43ec-4479-9c73-406587f23164","name":"format_created_at","type":"n8n-nodes-base.dateTime","position":[-380,600],"parameters":{"value":"={{ $node[\"get_latest_15_tweets\"].json[\"created_at\"] }}","options":{},"toFormat":"=YYYY MM DD HH:mm:ss","dataPropertyName":"created_at_formated"},"typeVersion":1},{"id":"0e7e0b3c-6c6a-478d-a0e5-b64d179942cf","name":"get_latest_15_tweets","type":"n8n-nodes-base.twitter","position":[-560,600],"parameters":{"limit":15,"operation":"search","searchText":"={{ $node[\"setup\"].json[\"setup_searchstring\"] }}","additionalFields":{}},"credentials":{"twitterOAuth1Api":{"id":"1","name":"Twitter OAuth account"}},"typeVersion":1},{"id":"902a28a4-22e8-4607-a4b3-d13fa95398b5","name":"get_current_time","type":"n8n-nodes-base.dateTime","position":[-220,600],"parameters":{"value":"={{ Date() }}","action":"calculate","options":{},"duration":1,"timeUnit":"minutes","operation":"subtract","dataPropertyName":"current_s1min"},"typeVersion":1},{"id":"dbabb702-4c7d-4431-8306-1f3f69bb3263","name":"format_current_s1min","type":"n8n-nodes-base.dateTime","position":[-60,600],"parameters":{"value":"={{ $node[\"get_current_time\"].json[\"current_s1min\"] }}","options":{},"toFormat":"=YYYY MM DD HH:mm:ss","dataPropertyName":"current_s1min_formated"},"typeVersion":1},{"id":"3dcd231c-33bc-46b2-83b5-54b9dfc275d5","name":"check_if_tweeted_within_l1min","type":"n8n-nodes-base.if","position":[120,600],"parameters":{"conditions":{"dateTime":[{"value1":"={{ $node[\"format_created_at\"].json[\"tweet-date\"] }}","value2":"={{ $node[\"format_current_s1min\"].json[\"current_s1min_formated\"] }}"}]}},"typeVersion":1},{"id":"a1c5aa27-7b43-473c-adfd-33cfcae5ecd4","name":"create_post","type":"n8n-nodes-base.set","position":[300,580],"parameters":{"values":{"string":[{"name":"content","value":"======\nFrom: {{ $node[\"get_latest_15_tweets\"].json[\"user\"][\"name\"] }} https://twitter.com/{{ $node[\"get_latest_15_tweets\"].json[\"user\"][\"screen_name\"] }}\nDate: {{ $node[\"get_latest_15_tweets\"].json[\"created_at\"] }}\nURL: https://twitter.com/{{ $node[\"get_latest_15_tweets\"].json[\"user\"][\"id\"] }}/{{ $node[\"get_latest_15_tweets\"].json[\"id\"] }}\n---\n {{ $node[\"get_latest_15_tweets\"].json[\"text\"] }}\n---\n=========="}]},"options":{},"keepOnlySet":true},"typeVersion":1},{"id":"d185b6d8-e942-4475-a9f6-7237a2f65e07","name":"post_to_discord","type":"n8n-nodes-base.discord","position":[460,580],"parameters":{"text":"={{ $node[\"create_post\"].json[\"content\"] }}","options":{},"webhookUri":"={{ $node[\"setup\"].json[\"discord_webhookurl\"] }}"},"typeVersion":1}],"active":false,"pinData":{},"settings":{},"versionId":"545fe8fc-57be-4a3a-b929-e8a0db483ec6","connections":{"setup":{"main":[[{"node":"get_latest_15_tweets","type":"main","index":0}]]},"create_post":{"main":[[{"node":"post_to_discord","type":"main","index":0}]]},"run-every-1-min":{"main":[[{"node":"setup","type":"main","index":0}]]},"get_current_time":{"main":[[{"node":"format_current_s1min","type":"main","index":0}]]},"format_created_at":{"main":[[{"node":"get_current_time","type":"main","index":0}]]},"format_current_s1min":{"main":[[{"node":"check_if_tweeted_within_l1min","type":"main","index":0}]]},"get_latest_15_tweets":{"main":[[{"node":"format_created_at","type":"main","index":0}]]},"check_if_tweeted_within_l1min":{"main":[[{"node":"create_post","type":"main","index":0}]]}}}