Created
December 19, 2013 21:22
-
-
Save ksnider/8046470 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Connect to Infusionsoft | |
| require_once("isdk.php"); | |
| $app = new iSDK; | |
| $app->cfgCon("connectionName"); | |
| // Get ContactID from POST variable | |
| //$contactId = $_POST['contactId']; | |
| $contactId = 18853; | |
| // Use achieveGoal API call to trigger goal in Campaign Builder | |
| $Integration = 'hff89622'; | |
| $callName = 'triggerNext'; | |
| $goal=$app->achieveGoal($Integration, $callName, $contactId); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment