What is this correlation key and payload in the Github Connector?


I am getting errors. Could you guys help me?

I have configured a webhook in GitHub. I want to start the workflow whenever the webhook is received and write the results into a google sheet.

Hi @brian.kodikara, welcome to the forums! This guide acts as an overview for message correlation and should help get you started. In short, imagine you have 100 instance of this process; which one should the message route to? This is how the engine handles that. The first field (“Correlation key (process)”) is the name of a variable that holds a value unique to that process; the second field is where that key can be found in the webhook request payload. The engine uses the correlation key and value to determine which instance of the process you are sending a message to.

However, I suspect you actually want the GitHub connector to be the start event of your process, rather than starting a process first and waiting for the webhook to come in. In other words, you want the GitHub webhook call to start your process. So in your model, delete the existing connector element, click on the start event, click on the “Change Element” option from the context pad, and choose the “GitHub Webhook Start Event” option:

Thanks. @nathan.loding

I want to pass a variable I get from the webhook to the next task. I want to send that variable to a dummy API. How to do that?

How to access “response” variable in this task?

@brian.kodikara - I recommend you read through our documentation on variables, variable mappings, and FEEL.

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