{"id":5876,"date":"2021-09-22T08:00:41","date_gmt":"2021-09-22T08:00:41","guid":{"rendered":"https:\/\/www.process.st\/help\/docs\/chargebee\/"},"modified":"2024-03-07T11:31:39","modified_gmt":"2024-03-07T11:31:39","slug":"chargebee","status":"publish","type":"ht_kb","link":"https:\/\/www.process.st\/help\/docs\/chargebee\/","title":{"rendered":"Chargebee + Process Street Integration"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignnone size-full wp-image-9905\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/Integrate-Chargebee-01.png\" alt=\"\" width=\"100%\" \/><\/p>\n<p>You can integrate <a href=\"https:\/\/www.chargebee.com\">Chargebee<\/a> with <a href=\"https:\/\/www.process.st\/\">Process Street<\/a> checklists using <a href=\"https:\/\/www.process.st\/help\/docs\/zapier\/\">Zapier<\/a>.<\/p>\n<p>Data you store in\u00a0<a href=\"https:\/\/www.process.st\/help\/docs\/form-fields\/\">form\u00a0fields<\/a> can be pushed to Chargebee to update billing subscription plans. That means you can create and assign upgrade plans to your customers as part of your workflow with Process Street <a href=\"https:\/\/www.process.st\/help\/docs\/running-checklists\/\">checklists<\/a>.<\/p>\n<h3><span style=\"font-weight: 400;\">Use case:<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">A company manages their <a href=\"https:\/\/www.process.st\/templates\/upselling-process-for-saas-companies\/\">SaaS upselling process<\/a> with Process Street.<\/span><\/li>\n<li>The company wants to automatically update the billing subscription plan of their customers in Chargebee as part of the SaaS upselling process.<\/li>\n<\/ul>\n<p><em><strong>Plan: This integration is available to customers on <a href=\"https:\/\/www.process.st\/pricing\/\">all plans<\/a>.<\/strong><\/em><\/p>\n<p><em><strong>Users: In order to create an API key for integrations, you must be an Administrator.<\/strong><\/em><\/p>\n<h3><span style=\"font-weight: 400;\">Process overview:<\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">We will add a drop-down menu form field to a Process Street template.<\/span><\/li>\n<li>We will create a new lookup table in Google Sheets.<\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">We will create a Zap in Zapier that takes information from Process Street once a task is complete, checks the lookup table in Google Sheets and updates a Chargebee subscription.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Let\u2019s get this set up!<\/span><\/p>\n<h2>Getting started with Zapier<\/h2>\n<p><span style=\"font-weight: 400;\">Zapier is a tool that connects over 1,000 different apps. Any Action in any of the supported apps (like forwarding an email or adding an attachment to a task) can be set up to trigger another app\u2019s features automatically. Zapier integrates with both Chargebee and Process Street. The whole recipe (Trigger + Action) is called a Zap.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Log into <\/span><a href=\"https:\/\/zapier.com\/\"><span style=\"font-weight: 400;\">Zapier<\/span><\/a><span style=\"font-weight: 400;\"> or <\/span><a href=\"https:\/\/zapier.com\/sign-up\"><span style=\"font-weight: 400;\">create an account<\/span><\/a><span style=\"font-weight: 400;\">, then click &#8220;Make a Zap!&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In your new zap, select Process Street as the Trigger:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/3-zapier-choose-trigger-app.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Once you&#8217;ve selected Process Street, choose New Task Checked:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/4-zap-confirm-trigger-in-ps-checklist.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Now we&#8217;ll need to create the parts of the Process Street checklist that will indicate the upgrade plan so that Zapier can pull from them when the integration is triggered, and use that information to complete the automation.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Add a dropdown form field to the Process Street checklist<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Go to Process Street and make a new template with a dropdown form field, or add them to an existing one.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/1-ezgif.com-video-to-gif.gif\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">In this case, we\u2019ve got a field named \u201cNew upgrade plan\u201d. There are three options in this example: &#8220;Silver&#8221;, &#8220;Gold&#8221; and &#8220;Platinum&#8221;. When a user selects a plan from this form field and checks the task as complete, Zapier will send a Zap to the Tigger the next Action.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/2-pic-save-dropdown-named-ps.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Go back into Zapier and select the Process Street account you wish to connect. To connect your Process Street account to Zapier, you&#8217;ll need to use your Process Street API. This can be found in the \u201cSettings and API\u201d tab of your organization.<br \/>\nkey<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/15-zap-ps-connect.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Then move onto Edit Options in the Zap Trigger. From the dropdown menus, choose the template and task that you just created, or one that already exists on your account:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/16-zap-ps-edit-options-trigger.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Before you go on to test the step in Zapier, make sure you\u2019ve run the checklist with the form fields you want to use and filled them in. This way, Zapier has some test data to pull in and validate.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/7-zap-pull-in-ps-samples.png\" alt=\"\" \/><\/p>\n<p>Once you&#8217;ve tested the step, move on to the next section.<\/p>\n<h2>Set up a lookup table in Google Sheets<\/h2>\n<p><span style=\"font-weight: 400;\">Before we add the Chargebee Action, we need to use <a href=\"https:\/\/gsuite.google.com\/landing\/partners\/referral\/trial.html?utm_source=sign-up&amp;utm_medium=referral&amp;utm_campaign=apps-referral-program&amp;utm_content=CQ593M5\">Google Sheets<\/a> to search a lookup table for the plan ID that corresponds with the plan name selected in the dropdown field in Process Street.<\/span><\/p>\n<p>First, let&#8217;s set up a quick lookup table in Google Sheets.<\/p>\n<p>Create a new blank sheet and name the first two columns &#8220;Plan name&#8221; and &#8220;Plan ID&#8221;. The &#8220;Plan name&#8221; values will be the same as those in your dropdown field in Process Street, and the &#8220;Plan ID&#8221; will be a more abstract value that corresponds with the plans you have set up in your Chargebee account.<\/p>\n<p>The table will look something like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/10-google-sheets-lookup-table.png\" alt=\"\" \/><\/p>\n<p>Next, go back to Zapier and add a new Action. Select Google Sheets as the Action app, then select <span style=\"font-weight: 400;\">&#8220;Lookup Spreadsheet Row&#8221;. This is a Search Action, and will take the plan name selected in the dropdown field and find the reference ID of the upgrade plan in the lookup table, so that Chargebee can automatically apply the change to the customer\u2019s profile.<\/span><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-3030\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/9-zap-add-search-google-sheets.png\" alt=\"\" \/><\/p>\n<p>Add your Google Sheets account to Zapier so that the Zap can access the lookup table:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/11-zap-connect-google-sheets-account.png\" alt=\"\" \/><\/p>\n<p>Now you need to configure Zapier&#8217;s Search Action to look for the row containing the new plan ID, using the information pulled from the Process Street dropdown form field. Click on the button market &#8220;Insert a field&#8221; to the right of the data field you wish to fill out and choose the appropriate data from your Process Street test.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/12-configure-zap-google-sheets-lookup-search.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Once that\u2019s done, you\u2019re ready to test this part of the Zap. Hit &#8220;Fetch &amp; Continue&#8221; and wait for Zapier to find the result in your Google Sheets spreadsheet.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/13-TEST-GOOGLE-SHEETS-ZAP.png\" alt=\"\" \/><\/p>\n<p>If it worked, you&#8217;ll see something like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/14-finish-test-google.png\" alt=\"\" \/><\/p>\n<p>Just hit &#8220;Finish&#8221; and we can move on to setting up the final part of the Zap: an Action step that speaks to Chargebee.<\/p>\n<h2><span style=\"font-weight: 400;\">Add an Action to upgrade a subscription plan in Chargebee from a Process Street checklist<\/span><\/h2>\n<p>Now that you&#8217;ve set up the initial Trigger, and added a Search Action to look for the plan ID using Google Sheets, you can push that plan ID into Chargebee to upgrade the subscription plan in question.<\/p>\n<p><span style=\"font-weight: 400;\">Choose Chargebee as the app for the Action step, with Update Subscription as the Action.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/17-chargebee-new-action.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You\u2019ll then need to link your Chargebee account with Zapier by providing your API key and account URL.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you move onto Set Up Template, set the Subscription ID from the Google Sheets row pulled in the Search Action. Here\u2019s how we set up our subscription template:<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/final-zap.png\" alt=\"\" \/><\/p>\n<p>Here you can see that the Plan ID corresponds to the ID for the &#8220;Platinum&#8221; plan that was selected in the dropdown field in the original Process Street field.<\/p>\n<p>When you&#8217;re done, click &#8220;Continue&#8221; at the bottom of the screen to\u00a0<span style=\"font-weight: 400;\">move onto the test step to confirm the Zap is working.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/zap-chargebee-test-succes.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Head over to Chargebee, and check whether the subscription has been updated.<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.process.st\/help\/wp-content\/uploads\/2024\/02\/18-chargebee-new-sub.png\" alt=\"\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Be sure to test the complete Zap by running a new checklist and completing the task with the subscription plan ID, and then check the the Zap logs to be absolutely sure the integration is working.<\/span><\/p>\n<p>Now your new Zap is finished and ready to help you save time by eliminating a sizeable manual workload from any process that involves the billing, upgrade, and general management of subscription plans.<\/p>\n<p>Moving forward, this Zap means that you&#8217;ll never have to worry about manually changing the subscription plans of new and upgrading users ever again.<\/p>\n<p>Consider how you could automate other repeatable processes using Process Street integrations. There are so many options available for integrating with different apps, that you&#8217;re only limited by your imagination.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can integrate Chargebee with Process Street checklists using Zapier. Data you store in\u00a0form\u00a0fields can be pushed to Chargebee to update billing subscription plans. That means you can create and assign upgrade plans to your customers as part of your workflow with Process Street checklists. Use case: A company manages their SaaS upselling process with [&hellip;]<\/p>\n","protected":false},"author":9,"template":"","meta":{"_acf_changed":false,"available_plan":"All plans","available_product":"Integrations","footnotes":""},"ht_kb_category":[194],"ht_kb_tag":[197,374],"class_list":["post-5876","ht_kb","type-ht_kb","status-publish","hentry","ht_kb_category-integrations","ht_kb_tag-integrations","ht_kb_tag-wufoo"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb"}],"about":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/users\/9"}],"version-history":[{"count":1,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5876\/revisions"}],"predecessor-version":[{"id":5877,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb\/5876\/revisions\/5877"}],"wp:attachment":[{"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/media?parent=5876"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb_category?post=5876"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.process.st\/help\/wp-json\/wp\/v2\/ht_kb_tag?post=5876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}