This sample demonstrates two core concepts. First, it demonstrates how to create a remote event receiver that calls out to a remote service when a list item is created.
It then demonstrates how the remote event receiver service can use the client object model (CSOM) to find a workflow association and start a new instance of the workflow on a specific list item while also passing values into the workflow.