AWS Lex Python Event Autocomplete

AWS Lambda is amazing and WavyCloud’s language of choice is Python. One caveat is the lack of autocomplete on events you receive. So you end up navigating dictionaries and hopefully not have a misspelling of the keys. You also have to remember dictionary structure or keep looking up source event documentation.

We wanted a consistent way to navigate those event dictionaries with auto-complete support. Also, we want to easily construct responses and copy relevant information from input event with autocomplete as well.

We started by having a class that will stores these variables in an object as well as helper functions to create each response type. It was messy but it worked. Eventually we decided to create pylexo to solve that problem.

Pylexo wraps lex lambda events and converts it into an object so you don’t have to remember string keys. All you have to do is pass your event to LexInputEvent.

Here is how pylexo works. For more detailed usage and auto-complete on Slots and Sessions, please visit pylexo documentation at Github

to install

pip install pylexo
import pylexo

def handler(event, context):
    pylexo_event = pylexo.LexInputEvent(event)
    print("messageVersion:   {}".format(pylexo_event.messageVersion))
    print("invocationSource: {}".format(pylexo_event.invocationSource))
    print("userId:           {}".format(pylexo_event.userId))
    print("PickupTime:  {}".format(pylexo_event.currentIntent.slots['PickupTime']))

4 steps to make a great video for your business for under $99!

Did you like the video above? Great, we are going to help you make a better one for your business for under $99.

Making a great video for your business could cost you thousands of dollars $$$. That’s the last thing an entrepreneur like you should do. Entrepreneurs should save money. So let’s get to it.

1. Write Video Script ($0-$15)

Before thinking of the video, you need a script written and voice recorded. You can do it your self if you are a skilled writer. You can alternatively hire a freelance writer. Make sure to look at their previous work and make sure it fits your business style.

Ask your self the following questions when writing the script:

  • What are the expected results?
  • Who is the target customer?
  • What is the message you are trying to deliver?
  • What is the single action that users should take after watching the video?

Start the script with an engaging opener that can easily resonate with your customer. Start with the customer in mind. Avoid starting with “We are Bla Bla Bla and we do this and that”. You can start by asking a question or relating to customer’s pain points, which will make them feel heard and listened to.

Don’t forget to mention your brand throughout the script to make sure it sticks to viewers. Emphasize words that should be spoken with a high-pitch.

End the script with the brand name and a call to action that viewers should take.

Keep refining the script before moving to Step 2.

2. Record a Voice-Over ($5-$20)

Once you are satisfied with the script, try to read it out loud with your own voice and aks friends or co-workers what they think. Make sure the details are nailed down before hiring a voice-over actor.

You can record your own voice, but chances are you don’t have the equipment necessary to make a clear voice-over. You don’t want to end up with noise or kids running around in the background.

I recommend finding a voice-over actor that matches your style and preference. And, ask your self:

  • What voice would my customers love to hear?
  • What tone should the script be recorded with (enthusiastic, happy, energetic, thrilling or sad)?

Make sure to listen to previous recordings and make sure that the voice-actor you select vary the tone along the recording. Montone voice might bore your customers.

3. Make the video ($0-$1000)

Now the exciting part, the video itself.

If you have an artistic and creative talent (unlike me) then you might want to DIY. Here are some tools that you may find useful:

If you are like me, find a freelancer that you like his work. Here are some websites that I use to find freelancers:

Some freelancers will give you a package of:

  • Writing the script
  • Recording Voice Over
  • Making the video

However, I recommend paying attention to each step and put your soul and vision into each one. Make sure to prepare the following design assets (in high-def):

  • Logo
  • Icons
  • Color codes of the brand
  • Font type to use

4. Refine & Negotiate

Don’t just accept the first revision. Make sure to get the video perfected as agreed before releasing the final payment.

Compromise on anything (Price, Length, sound effects, etc) but not on the overall quality. If the video turned out to be of a low-quality don’t bother publishing it. It could do more harm than good. Actually, a poor quality video will associate your brand with a low-quality work.

Don’t forget to tip the freelancer once you are happy with the result.

Oh you want to tip us? no we don’t accept tips but if you insist, I would like to invite you to give us your feedback on WavyCloud service by getting your cloud-based phone number for free for the 1st Month using this Coupon BIZVIDEO (Expires 09/15/2017)

Did Clouds Ruin Your Eclipse Moments?

Americans were all giddy with excitement as they witness a rare total solar eclipse, something that has not occurred in decades. Dubbed as “The Great American Eclipse,” It is the first total solar eclipse that crosses the country from coast to coast and is only visible in USA. And I mean literally, no one outside the continental U.S. will see the eclipse!

A total solar eclipse is an astronomical phenomenon that occurs when the moon passes between Earth and the sun, momentarily obscuring the latter. The phenomenon usually lasts for a couple of minutes for those standing within the eclipse’s path of totality. However, partial eclipse—which happens when the moon covers some parts of the sun, usually last for a few hours.

“The Great American Eclipse” is such a rare phenomenon that some people traveled hundreds of miles to cities on the path of totality like Nashville, Tennessee and Salem that offers the best view.

But there is one thing that puts a damper on the event: clouds.

According to ABC News, huge parts of central United States and along the Southeast coast were affected by cloudy skies. A weather system in the middle of the country also interfered with the eclipse’s visibility on parts of Kansas, Nebraska, Iowa and Missouri.


The good news about cloud—the wavy kind, though is that it is great for business!  Got a start-up and the Eclipse is totally bumping your business? It surely becomes overwhelming good. But it can simply just be overwhelming when you do not have the right tools to manage the influx of business.

With WavyCloud, you could easily customize how you interact with your customer. With our easy-to-use system. Everything is streamlined for your convenience. Imagine sounding like a Fortune 500 company without the price tag, awesome right?

You have a virtual receptionist answering your incoming calls so you don’t get to miss anything important. Advertise in dual channels—voice and SMS, to keep your loyal customers constantly informed for upcoming promos and events.

Want to know more how we can help transform your business? Sign up! And we will make sure that your business will not be eclipsed.


4 Keys to A Successful Startup

Congratulations! You’ve finally put your idea into a business.  But by now, you might already start to feel the pressure of uncertainty as excitement of becoming your own boss begins to wear off. Doubts sets in and you start to question if you could really pull it of. Statistics shows that nine out of 10 startups fail and 46 percent of these failures are due to incompetence. But do not let the statistics scare you. Here are four keys to make sure that your business becomes a success.

  1. Set your business apart

What will make customers choose your coffee over Starbucks? In business lingo, this means differentiation. Differentiation is when you offer a product or service that sets you apart from the competition. It could be the ambiance of your shop, the handcrafted packaging of your product, or your fun corporate culture that transcends to your service. Whatever it is, it is that ‘something’ that makes your business stands out from the competition.

  1. Target the right demographic

More often than not, businesses fail because they do not understand their customers or they do not know who their customers are. This is not just a pitfall for startups but for well-established companies as well. Remember MySpace? It was the social networking site everybody was on until Facebook killed it. How you may ask? Facebook understood its demographic—people connect on more than one level through shared interests, groups, and integrate that into multiple ways.

It’s not that you need to know all your customers by name, though that would add a personal touch. Targeting demographic means the ability to narrow down your market in a manner that your product could define and respond to their needs and preferences.

  1. Be social

Word-of-mouth is the best marketing tool you’ll ever have. And did I mention that it’s also free? 86 percent of consumers will prefer a product or service that’s recommended by a family or friend. And because of technology, these recommendations are likely to be posted on social media. Humans are social creatures and we like to socially influence others by raving about our new discoveries online.

That is why getting a website is not enough. You have to provide constant presence on popular social media platforms like Facebook, Twitter, and Instagram to have a strong online presence. Not only will this allow your customers to interact with your brand and increase brand awareness, but will also allow you to get direct feedback that will help you proactively find areas of your business that needs improvement.

  1. Listen to your customers

Listening to your customer is doubly important for a startup because you are still trying to cut a piece of the pie, so to speak. How you listen to them will establish the size you’ll get. When Chipotle entered the fast food industry, it understood that there is a clamor for fast, healthy food option. It listened to what customers want and in effect cut a big piece out of McDonald’s market by offering customizable burritos and using only fresh ingredients.

The moral of the story? Be customer-centric. Always be flexible. Always. Be flexible in your business goals and be flexible as an entrepreneur. Proactively respond to the changing patterns and demands of your customers while holding firm to the value of what you are trying to create with your startup.