npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

twilio-cloud-function

v0.0.5

Published

Use the Twilio platform to send emails to your users, potentially after raising tickets, or simply to provide confirmation of their information.

Downloads

14

Readme

WBB Twilio Integration

This project allows you to send SMS messages via the Twilio service, when a block is triggered. Messages sent can make use of static parameters or values collected from forms.

Setup

After importing the content for this integration you will be provided with a series of blocks that you can use within your content. You will need to configure these blocks to provide the necessary access tokens to use Twilio. This article explains how you can find your access tokens required.

Blocks Provided

This integration provides the following blocks under the topic of Twilio.

  • Send SMS - when triggered, will send the SMS message to the number provided.
  • ?? Account ID not set type blocks?

Handler Names

The following handler names and their functions are available :

| Handler Name | Block | Purpose | | ------------ | -------- | ------------------------------------ | | send-sms | Send SMS | To trigger an SMS message to be sent |

Configuration Options

Within the function there are a number of options that can be set to configure the behaviour of the integration. The tables below show the settings that are available for each handler.

send-sms

| Property | Required | Description | | ----------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | twilioAccountSid | true | The account SID from your twilio account that will be used to send the message | | twilioAuthId | true | The account Auth ID from your twilio account that will be used to send the message | | to_property | false | The name of a property in a form, that is collecting a mobile phone number to send a message to | | from | true | The mobile phone number that will be used to send the message | | to | false | A fixed mobile phone number to send the message to | | message | true | The message you'd like to send. Note that this can include parameters that will be substituted when the message is created. For example, "Hello %%firstName%%" might end up sending "Hello Andy" if the user has entered their first name as "Andy" | | errorBlock | true | The block ID that will display an errot to the user if anything goes wrong | | confirmationBlock | true | The block the user will be shown after the message has been sent successfully |