GithubHelp home page GithubHelp logo

rahul-barick / localytics Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 9 KB

sending real-time push notifications using node.js and Built.io Flow

License: MIT License

JavaScript 100.00%
localytics real-time push-notifications push-api service action flow custom-actions nodejs request

localytics's Introduction

Localytics

The Push API is an interface for sending real-time push notifications that leverages the Localytics marketing platform using node.js

Created Source Code for Localytics Service Custom Activity or Action with flow

If you have not yet integrated the Localytics SDK into your app then you can use Localytics

Flow provides an action builder that lets you insert custom code and create an action that looks and works exactly the way other actions do.

To create a new custom action yo need to follow Some Conventions. These conventions are mainly classified into 3 main blocks of program code as given below:

  1. this.input: This block includes the definition of form input fields.

  2. this.output: This block includes the definition of the output parameters that your action will return.

  3. this.execute: This block includes the program logic that will run inside Flow Engine.

request module:

This module helps you to make HTTP calls to third party applications. In order to do that, you need to provide values for following keys:

  • Headers: Pass the required values to create a connection.

  • Method: Specify the HTTP method to be used to make an API call.

  • URL: Provide the URL to which you wish to make HTTP request.

  • Error handler: Specify error handler function 'function (err,response,body)' for your action. If the action throws an error, it should return 'output(err)', and if the action is executed successfully, it should return 'output(body)'.

localytics's People

Contributors

rahul-barick avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.