Description
-----------
        
This module links a Drupal site with an Infusionsoft application. It synchronizes 
Users in your Drupal site with Persons in Infusionsoft, in both directions, using
contact information drawn from Profiles in Drupal. It allows you to run 
Infusionsoft Action Sets that can tag a Person, or add them to a follow-up sequence
in Infusionsoft when they perform certain actions on your site, recognized by the 
Trigger module in Drupal.

This module uses Drupal XML-RPC facilities and the Infusionsoft XML-RPC API. To 
use this module, your Infusionsoft application must be API-enabled and you must 
save your Infusionsoft application name and API key in Site configuration - 
Infusionlink Settings.

This module will synchronize certain standard Person fields in Infusionsoft with 
User Profile fields in Drupal. To enable this, choose User Management - Profiles
to define the fields. The field names must match the list below:

profile_firstname, profile_lastname, profile_jobtitle, profile_company, 
profile_phone1, profile_address1, profile_address2, profile_city, profile_state,
profile_postalcode, profile_country, profile_persontype. 

If you use profile_persontype, your list of choices must match between 
Infusionsoft and the Profile field. To add fields or change these names, you
will need to modify the module PHP source code (not very difficult).

If you use Infusionsoft Webforms for opt-ins, and you want these people added to
your Drupal site, you must add an action to your Webform to send an HTTP POST to
your Drupal site at http://yoursite.com/infusionlink_webform.  Usernames for the
Drupal site are created from the first letter of the first name concatenated with
the last name as entered on the webform.

For your security, this module checks that the HTTP POST comes from an 
Infusionsoft server IP address, that you specify in Infusionlink settings 
(the last quad in the IP address is ignored). The default IP address 208.76.24.x
is OK as of September 2010, but to make sure, leave this setting blank, fill out
and submit your Webform, then use Reports - Recent log entries to see the IP address.

To define Action Sets to run, use Site configuration - Actions, choose an Advanced
Action, enter an Infusionsoft Action Set ID and Drupal Node ID, then associate that
Action with a Trigger on Content, Comment or User activity. To determine Action Set
IDs, choose Setup - Action Sets in Infusionsoft, find your action and check the Id
column.


Installation
------------

Please see the INSTALL.txt document for details.


Bugs/Features/Patches
---------------------

If you want to report bugs, feature requests, or submit a patch, please do so
at the project page on the Drupal web site.


Author
------

Developed by: Daniel Fylstra (dfylstra) - http://www.solver.com

