There is a new feature in Lightning Flows called Auto Layout. I’m a huge fan. When you create a new flow, I would always recommend selecting this. It means a much better experience building your ...
Start the New Year Guilt Free
Technical debt is a concept in software development that reflect ‘s the implied cost of additional rework caused by choosing and easy solution now instead of using ...
I took a day to do some learning. In case you haven’t heard of Flow, it really is the way admins will work in the future. To be honest, I’m already using Flow to clean up a record and then writing ...
NPSP Data Import Stories
The NPSP Data Import Tool is a relatively new thing. I believe it was provided to give assistance to organizations who were switching to NPSP from legacy systems. Creating all the records in the proper order and with the proper linkage between contacts, households, org accounts, affiliations, donations, payments and so on can be daunting. And NPSP Data Import Tool makes that easy. It’s the tool of choice or migrating data into NPSP!
However, as I tried to help others use the tool, I realized that there is more to the story than simply importing data. Let me explain.
Quick Overview of NPSP Data Import Tool
Each line in your spreadsheet will be imported into a record called a NPSP Data Import record and will then be analyzed by the NPSP Data Import Tool and mapped onto one or more related records, some new and some matched from existing records. This is a complex but powerful idea.
The NPSP Data Import record is a flat representation of a bunch of information. But once it is processed, you can follow links to individual two contacts, one household, one organization, one affiliation, one campaign, one donation, and one payment. And you can tell if the processing succeeded, created new records, matched old records, or failed. If it failed, you can edit the flat data right inside Salesforce and try again.
Stores are at the heart of
The NPSP Data Import Tool is my favorite way to do things automatically. I had the need to add cases based on web signups. Here is my very simple journey to a very satisfying result.
I had the need to add cases based on web signups. Examples include requesting a speaker, filling in a service project request form, using our contact form to ask for something. These fall outside our automation and require cases. But I wanted to use cases so we know how many of these things come up and how well we do with them.
It was super simple and fully declarative to extend the NPSP Data Import Tool to do this. But first, why do it at all this way?
I want to keep duplicated to a minimum and I want to be safe from NPSP changes in the future. By using the NPSP Data Import Tool scheduled batch features, I can import data and let NPSP worry about matching existing contacts, adding households, and adding people to campaigns. And with my extension, I can easily create cases, too!
Here were my steps to a fully declarative solution
- Add fields to support cases on NPSP Data Import object.
- I am using the following fields on the case: Subject, Description, Internal Comments, Type (picklist), Origin (picklist) and Reason (picklist). So I needed each to be on the NPSP Data Import object to specify how the case should be created. I made all the fields on the NPSP Data Import object text fields of sufficient length to minimize maintenance.
Case Subject Case Description Case Internal Comments Case Type Case Origin Case Reason
- Add columns in my Google Sheet Template
- I have one Google spreadsheet where I keep all my data that I want to import. This way I just have one template. I started with the import template provided on the Power of Us Hub. But I have added several custom fields to supported objects. This was my first attempt time to be adding a new object.
- Add support for moving data rows, including my new columns for cases, from the sheet to a new Salesforce NPSP Data Import record using Zapier.com.
- Zapier.com is a cloud automation tool. I use it to connect all sorts of things like Salesforce, Gmail, Google Sheets, my phone contact list, Trello, Twilio and more. Each Zap is a simple recipe stating that when something happens on one cloud tool, do something on another. Zapier provided a starter package for nonprofits free of charge. I use a higher level of services now after more than a year of Zaps and pay a reasonable and discounted monthly charge, the equivalent of about two hours of manual data entry, but Zapier takes care of several thousand manipulations per month. For me, it’s a great bargain!
- I created the Zap so that each time a row is added to my data import spreadsheet, All the data columns are transferred to a new NPSP Data Import record in Salesforce. That’s really all it does.
- How does data get into the import spreadsheet? Normally it gets there by another Zap from a form submission. Each form requires filling in different columns… some a few and some many. But this is a story for another blog.
- Scheduling the record to be imported nightly
- NPSP Data Import Tool has a great batch import function. It’s covered in the Advanced Admin Guide. It requires setting the batch type on the NPSP Data Import record and creating a NPSP Data Import Batch configuration for each batch type. In the configuration, you can specify what type of matching to use for each record.
- When the NPSP Data Import tool processes a record, it updated the record with matched or created contacts, accounts, donations and payments and marks the record as successfully processed.
- Any record unable to be imported, will be marked as a failed import. You can view it later, edit the record data to fix the error, and it will get imported again on the next run.
- Creating a Process Builder to wait for NPSP Data Import records with my new case fields to be marked as successfully imported during the nightly run.
- The NPSP Data Import Tool finished up with it’s part of the job, but there is no case record yet. So this is the job of Process Builder! The Advanced Admin Guide covers how to implement APEX classes to post process NPSP Data Import records, but I wanted a declarative method.
- My Process Builder watches for NPSP Data Import records modified so that the status is newly changed to successful import.
- If any such records contain case fields, my Process Builder goes to work and creates a new case record using the data on the NPSP Data Import record. It updates the NPSP Data Import record with a lookup to the newly created case.
So that’s it! In less than an hour, I had extended the NPSP Data Import Tool to support creation of new cases!
So I have had it on my list to find a declarative and affordable way to bring in texting (SMS) platform services to our organization for a long while. That way has arrived! It’s Twilio for Salesforce combined with the Twillio.org Impact Program for discounted pay-as-you-go pricing.
Here’s what I did in about six hours to learn and bring our installation up…
Installed and got outgoing and incoming messages to work on my trial Twilio account.
- You have
Get the most out of Lightning now!
This presentation covers basic features of the Lightning list view that you can learn to command and tips for sharing these with your end users. We cover some intermediate features of list view for use by you, the administrator. And we give some pointers to some advanced features of list views that can keep your organization running with increasing optimality!
SEP 18, 2017 BY HOLLY FIRESTONE
We’re excited to welcome 28 new Salesforce MVPs and welcome back 102 re-awarded MVPs to the MVP Ohana today! We’re also thrilled to announce 10
Sharpening your Data with Reporting
Unsleash the power of your data with reporting!