CRC Twitter response challenge

Hi all,

Last year, I managed to create a Twitter webhook on n8n. That wasn’t really the hard part though, the real “challenge” was to make sure it would stay alive. Twitter uses a CRC (challenge response check)

Challenge-Response Checks. In order to verify that you are both the owner of the app and the webhook URL, Twitter will perform a Challenge-Response Check (CRC), which is not to be confused with a cyclic redundancy check. When a CRC is sent, Twitter will make a GET request of your web app with a ; crc_token parameter .

Securing webhooks | Docs | Twitter Developer Platform
I had no idea how to solve it, but just through figuring it out through trial and error. The final workflow is quite easy!

Are more people interested in this? I’m happy to share the workflow as a template (is there a way to send one in?).

Best, Milan

Edit:
template posted here: Twitter: Challenge-Response Check (CRC) for Twitter Webhook - Workflow - n8n.io

1 Like

Hi @bees8, awesome to hear you figured it out and thank you so much for sharing your workflow with the community!

You can either share it here on the forum. If you paste your workflow here using this button it will be previewed right on the page so other users can explore it straight away:

Alternatively you can share it as a workflow template by following these steps:

1 Like

Thanks @MutedJam !

1 Like

Here we go!

Twitter: Challenge-Response Check (CRC) for Twitter Webhook - Workflow - n8n.io

@MutedJam

1 Like