Skip to content

Instantly share code, notes, and snippets.

"use strict";
var Q = require("q");
exports.process = function (msg, conf) {
let msgId = msg.id;
console.log("Received new message with id", msgId);
console.log(msg);
var self = this;
@drobiazko
drobiazko / anotherDesc.md
Last active August 29, 2015 14:15
Demo Recipe

Hello

world

@drobiazko
drobiazko / gist:77ce63e2d5a0f789acbe
Last active August 29, 2015 14:07
sphere.io shop requirements for ByD integration

This document defines the specific requirements to synchronize data between a sphere.io shop and SAP ByD.

Custom Product Type

In order to synchronize products from SAP ByD, a sphere.io shop must have a "ByD" product type which has two custom fields of type Ltext:

  • name
  • description

@drobiazko
drobiazko / gist:3769530
Created September 23, 2012 09:47
Append Wufoo entries to a CSV file in Dropbox
{
"description": "Append Wufoo entries to a CSV file in Dropbox",
"tags": "wufoo, csv, dropbox",
"nodes": [
{
"compId": "wufoo",
"function": "entry",
"id": "step_161",
"first": true
},
@drobiazko
drobiazko / gist:3763256
Created September 21, 2012 19:03
Dropbox new file
{
"title": "Dropbox new file",
"nodes": [
{
"id": "step_161",
"compId": "dropbox",
"function": "new_file",
"first": true
},
{
@drobiazko
drobiazko / gist:3717543
Created September 13, 2012 20:49
Dropbox new file
{
"nodes": [
{
"title": "Dropbox New File",
"compID": "dropbox_new_file",
"id": "step_161"
},
{
"title": "Log",
"compID": "log",
@drobiazko
drobiazko / flow.json
Created August 31, 2012 20:43
Store Wufoo entries as CSV files in Dropbox
{
"nodes": [
{
"title": "Wufoo Entry",
"icon": "images/icons/wufoo_64.png",
"top": 138,
"left": 200,
"compID": "wufoo_hook",
"id": "step_161"
},
@drobiazko
drobiazko / flow.json
Created August 31, 2012 20:40
Untitled_0
{
"nodes": [
{
"title": "Dropbox",
"icon": "images/icons/dropbox_64.png",
"top": 126,
"left": 236,
"compID": "dropbox",
"path": "tweets/drobiazko",
"id": "step_132"
@drobiazko
drobiazko / flow.json
Created August 10, 2012 08:16
Code to Log
{
"nodes": [
{
"title": "Code",
"icon": "images/icons/code_64.png",
"top": 109,
"left": 247,
"compID": "code",
"code": "next(null, { message : \"Hello world!\" });",
"id": "step_132"
@drobiazko
drobiazko / flow.json
Created June 4, 2012 07:35
Build in Berlin Applications
{
"nodes": [
{
"title": "Wufoo Entry",
"icon": "images/icons/wufoo_64.png",
"top": 43,
"left": 140,
"compID": "wufoo_hook",
"subdomain": "elasticio",
"formID": "q7x3s5",