(╯°□°)╯︵ ┻━┻

Don't take life too seriously. You'll never get out of it alive.

Uploading CSV data to Einstein Analytics with AWS Lambda (Python)

I have been playing around with Einstein Analytics (the thing they used to call Wave) and I wanted to automate the upload of data since there’s no reason on having dashboards and lenses if the data is stale. After using Lambda functions against the Bulk API I wanted to have something similar and I found another nice project over at Heroku’s GitHub account called pyAnalyticsCloud I don’t have a Postgres Database so I ended up using only the uploader.py file and wrote this Lambda function to use it:

Upgrade your Electric Imp IoT Trailhead Project to use Platform Events

As an avid trailblazer I just have to Catch ‘Em All (Trailblazer badges) and the project to integrate Electric Imp in my fridge was a fun one. [caption width=“200” align=“alignnone”] Build an IoT Integration with Electric Imp[/caption] After buying an USB cable to supply it with power it now runs 24/7 and I get cases all the time, haven’t really tweaked the setup yet. I have looked at the new Platform Events and I thought that this integration can’t be using a simple upsert operation on an SObject, it’s 2017 for gods sake! Said and done, I set out to change the agent code in the Trailhead project to insert a Platform Event every time it’s time to update to Salesforce.

Sous Vide Ginger Shots with Chili

Autumn means darkness, less sunlight and people sneezing wherever you go. One way to mitigate this is to make your own ginger shots with chili, honey and lemon. I’ve gotten this recipe from my mom and I do it regularly. * 200 grams of fresh ginger * 1 liter of water * 1/2 deciliter of honey * 2 lemons * Chili (optional) [caption id=“attachment_314” align=“alignnone” width=“584”] ginger habanero lemon[/caption]

Using AWS Lambda functions with the Salesforce Bulk API

One common task when integrating Salesforce with customers system is to import data, either as a one time task or regularly. This can be done in several ways depending on the inhouse technical level and the simplest way might be to use the Import Wizard or the Data Loader. If you want to do it regularly in a batch fashion and are fortunate enough to have AWS infrastructure available using Lambda functions is an alternative.

Trailhead is awesome and gamification totally works!

About this time last year I decided to pursue a career within Salesforce, I was a bit tired of my current job and wanted a change. It was either a backend engineer role at iZettle or becoming a Salesforce Consultant. The consultant role was not new to me since that’s how I started my career. After signing the contract I decided to look at Trailhead since I heard a lot of good things about it.