using conditional statements with lyris may 15, 2009

25
Using Conditional Statements with Lyris May 15, 2009

Post on 22-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Using Conditional Statements with Lyris May 15, 2009

Using Conditional Statements with LyrisMay 15, 2009

Page 2: Using Conditional Statements with Lyris May 15, 2009

Challenge

Donors who had pledged to multiple funds were receiving a pledge reminder for only one of the pledges they had made. Telemarketing would often get reply email making sure their pledge had been accurately recorded.

Page 3: Using Conditional Statements with Lyris May 15, 2009

Solution

Use scripting to merge additional fields and messages into the email only if certain conditions had been met.

Page 4: Using Conditional Statements with Lyris May 15, 2009

Pledge to Pledge Reminder Process

Page 5: Using Conditional Statements with Lyris May 15, 2009

Pledge to Pledge Reminder Process

Page 6: Using Conditional Statements with Lyris May 15, 2009

Melissa in Annual Giving

Page 7: Using Conditional Statements with Lyris May 15, 2009
Page 8: Using Conditional Statements with Lyris May 15, 2009
Page 9: Using Conditional Statements with Lyris May 15, 2009
Page 10: Using Conditional Statements with Lyris May 15, 2009
Page 11: Using Conditional Statements with Lyris May 15, 2009

Pledge to Pledge Reminder Process

Page 12: Using Conditional Statements with Lyris May 15, 2009

The Spreadsheet Fields

Before– FULLNAME_– NAME_PREFIX– NAME_COMB_HOUSEHOLD– GENERIC_01 – COMMENT_ – EMAILADDR_

After– FULLNAME_– NAME_PREFIX– NAME_COMB_HOUSEHOLD– GENERIC_01 – GENERIC_02– CODE_GEO– GENERIC_03– NAME_MIDDLE– USER_ID– COMMENT_ – EMAILADDR_

Page 13: Using Conditional Statements with Lyris May 15, 2009

The Spreadsheet Columns

FULLNAME_

ADDITIONAL

NAME_PREFIX

NAME_COMB_HOUSEHOLD

GENERIC_01

GENERIC_02

CODE_GEO

GENERIC_03

NAME_MIDDLE

USER_ID

GENERIC_04

COMMENT_

EMAILADDR_

Full name

Caller name

Pledge date

Pledge amount for first fund

Name of first fund

Pledge amount for second fund

Number of second fund

Name of second fund

Pledge amount of third fund

Number of third fund

Name of third fund

Department Description

Email address

Page 14: Using Conditional Statements with Lyris May 15, 2009

Keep Space Limitations in Mind

Field Characters Field Characters

Additional_ Unlimited code_geo 6

Comment_ Unlimited generic_01 100

name_prefix 15 generic_02 100

name_first 25 generic_03 100

name_middle 25 generic_04 100

name_last 60 flag_01 1

name_suffix 15 flag_02 1

name_comb_household 45 userid_ 20

state 2

Page 15: Using Conditional Statements with Lyris May 15, 2009

Insert Condition

Page 16: Using Conditional Statements with Lyris May 15, 2009

Make your Condition

Page 17: Using Conditional Statements with Lyris May 15, 2009

Make your Condition

Page 18: Using Conditional Statements with Lyris May 15, 2009

Make your Condition

Page 19: Using Conditional Statements with Lyris May 15, 2009

Insert Condition

Page 20: Using Conditional Statements with Lyris May 15, 2009

Insert Condition

Page 21: Using Conditional Statements with Lyris May 15, 2009
Page 22: Using Conditional Statements with Lyris May 15, 2009

Planning

– There are limited columns to work with, make them count, be strategic.

– What is the goal?

Page 23: Using Conditional Statements with Lyris May 15, 2009

Take Note

– Strings, Quotes and Backslashes• Escaping a character use \ (for example quotes)• Line break \n• Line spaces in text version

– Works best with Type III Lists• No practical application with the limited column fields

available to work with in DMS—emailaddr_

—domain_

—name_prefix

—name_first

—name_last

—But there are columns reserved for future use….

Page 24: Using Conditional Statements with Lyris May 15, 2009

Application/Discussion

Can this help you?

Any ideas you would like to toss around?

Lyris manual: http://www.lyris.com/help/lm_help/9.3/

Page 25: Using Conditional Statements with Lyris May 15, 2009