The Custom Event node is an advanced Quest node for creating complex integrations with other software systems in your school.
When a Quest flow reaches this node, it will wait until...
a) An external API call is made to CritterCoin passing in the student's email and a result indicating the event was successful or not.
OR
b) A Raise Custom Event node triggers the event from within another Quest
Once received the Quest will continue processing depending on the result.
In order to use this node you or your School's IT staff will need developer skills and a CritterCoin API Key.
NOTE: The External Event node requires the student's email to be passed as a parameter to match the student. Thus, if you are using placeholder emails in CritterCoin and not the student's real email address this node may not work for your situation.
API Endpoint:
https://crittercoinapi.azurewebsites.net/api/raisequestevent
This endpoint supports both HTTP GET and POST requests
To use with a GET request
To use with a POST request
POST BODY as JSON content:
{
"APIKey": "YOURAPIKEY",
"Email": "STUDENTSEMAIL",
"EventName": "YOUREVENTNAME",
"Result": true, //true or false - indicating to mark the event successful or failed for the student
}
The response will be returned as JSON:
{
"Email": "STUDENTSEMAIL", //the student's email you sent
"EventName": "YOUREVENTNAME", //the event name you triggered
"Result": true, //true if the event was received by the API
"ResultMessage": "" //error message if any
}