2017 © Pedro Peláez
 

library followupboss-php-api

PHP Interface for FollowUpBoss.

image

homeup/followupboss-php-api

PHP Interface for FollowUpBoss.

  • Thursday, November 9, 2017
  • by homeup
  • Repository
  • 1 Watchers
  • 1 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 18 % Grown

The README.md

Follow Up Boss PHP API

PHP Interface for working with the Follow Up Boss API, (*1)

How To Use

First, download the package, (*2)

composer require homeup/followupboss-php-api, (*3)

Then, add a couple lines to your .env file. If you don't have one, create and gitignore it, (*4)

FUB_KEY=my_fub_key
FUB_SOURCE=website_url_or_name

Then you can simply use any of the following commands to send data to FollowUp Boss., (*5)

To get lead data from FUB:, (*6)

$people = new HomeUp\FollowUpBoss\People();
$person = $people->find("test@example.com");

To send in lead data:, (*7)

$events = new HomeUp\FollowUpBoss\Events();
$events->saveLead([
    'firstName', 'John',  
    'lastName' => 'Smith',  
    'emails' => [['value' => 'johnsmith@example.com']], 
    'phones' => [['value' => '555-555-5555']],
    'tags' => ['Free Market Report']
]);

You can also send in the inquiry event (example data: https://docs.followupboss.com/reference#events-post), (*8)

$events->inquiry(
    ['emails' => [['value' => 'johnsmith@example.com']]], // Lead data
    "The main body of the inquiry goes here",  // Body of inquiry
    "Enter Type of Inquiry", // Example: "Property Inquiry" or "Registration"
    [optional_property_data], 
    [optional_property_search_data], 
    [optional_campaign_data]
]);

You can also send in page and listing views like so (example data: https://docs.followupboss.com/reference#events-post), (*9)

$events->listingView(
    ['emails' => [['value' => 'johnsmith@example.com']]], // Lead data
    [property_data],
]);

$events->pageView(
    ['emails' => [['value' => 'johnsmith@example.com']]], // Lead data
    "Title of the Page",
    "http://example.com/about", // URL of the page
);

You can add notes to leads, (*10)

$notes = new HomeUp\FollowUpBoss\Notes();
$notes->add(id_of_person, "This is the subject of the note", "This is the body of the note");

You can assign an action plan to a lead and retrieve a list of all action plans, (*11)

$ap = new HomeUp\FollowUpBoss\ActionPlans();

$plans = $ap->get()->actionPlans;

$ap->assign(id_of_person, $plans[0]->id);

The Versions

09/11 2017

dev-master

9999999-dev

PHP Interface for FollowUpBoss.

  Sources   Download

dbad

The Requires

 

The Development Requires

by Troy Jaggard

api crm followupboss