Last active
May 9, 2021 04:27
-
-
Save tobiasstrebitzer/97ca530ad822b438d0c12caf27f7d510 to your computer and use it in GitHub Desktop.
This file contains 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
[{ | |
// Configure Stripe Target | |
"type": "stripe", | |
"options": { | |
// Your Stripe Publishable Key | |
"publishableKey": "pk_test_...", | |
// URL Called to prepare the Stripe Customer | |
"setupUrl": "https://api.magloft.dev/reader/universal-form/setup" | |
} | |
}, { | |
// Send data to your REST API via a JSON POST request | |
"type": "restApi", | |
"options": { | |
// URL to send the form data to | |
"url": "https://api.magloft.dev/reader/universal-form/trial", | |
// Fields that should be sent to your REST API | |
"requestFields": ["email"] | |
} | |
}, { | |
// Register user with Intercom | |
"type": "intercom", | |
"options": { | |
// Intercom App ID | |
"appId": "l9oci9nb", | |
// Event Name to trigger | |
"event": "trial", | |
// Optionally, set Intercom Properties when submitting the form | |
"properties": {"product": "pwa" } | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment