Skip to content

Instantly share code, notes, and snippets.

Last active November 17, 2019 00:36
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
function createRecord(payload, done) {
payload.record =;
payload.record.form_id = "{FULCRUM SECOND FORM ID}";
// if you have a field that does not have the same element key for both forms then you can associate the fields
// with this line (I explain what this is for in more detail in the next block):
payload.record.form_values['{FULCRUM ELEMENT KEY}'] = payload.record.form_values['{FULCRUM ELEMENT KEY 2}'];
method: 'POST',
url: '',
json: payload.record,
headers: {
'X-ApiToken': '{API TOKEN}'
function (err, httpResponse, body) {
console.log('create', err, body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment