Skip to content

Commit

Permalink
Merge pull request #563 from zapier/update_quac_doc
Browse files Browse the repository at this point in the history
[PARTOPS-858] Update QuAC doc with webintent URL
  • Loading branch information
michellechu77 authored Dec 15, 2023
2 parents 75083ee + 82a5b27 commit a351435
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions docs/_embed/quick-account-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,21 @@ If you have an existing Full Zapier Experience or Zap templates element embed, y

## Add support to the Partner API

1. Retrieve your integration's name from the "title" field returned from the [`/apps` endpoint](https://platform.zapier.com/embed/partner-api#get-v1apps).
2. Redirect users to the acknowledgement page URL below:
`https://zapier.com/partner/acknowledgment?sign-up-last-name=<sign-up-last-name>&next=%2Fapp%2Fdashboard&type=quac&name=<Partner Name>&sign-up-first-name=<sign-up=first-name>&sign-up-email=<sign-up-email>`
3. Replace the following query parameter placeholders in the URL, using the "title" value from step 1 for the "name" parameter:
- name=`<partner-name>`
- sign-up-first-name=`<sign-up-first-name>`
- sign-up-last-name=`<sign-up-last-name>`
- sign-up-email=`<sign-up-email>`
1. Use the URL below to initiate Quick Account Creation, then redirect users into the Zap editor with the Zap template set in the parameters:
```
https://zapier.com/webintent/create-zap?template=<zap-template-id>&utm_source=partner&utm_medium=embed&utm_campaign=partner_api&utm_content=partner_quick_account_creation&entry-point-location=partner_embed&referer=<referer>&referrer=<referrer>&sign-up-first-name=<sign-up-first-name>&sign-up-last-name=<sign-up-last-name>&sign-up-email=<sign-up-email>&client-id=<client-id>
```

2. Replace the following query parameter placeholders in the URL:

| Parameter | Requirement | Explanation |
| :---------------------: | :---------: | -------------------------------------------------------------------------------------------------- |
| **client_id** | Required | Your application Client ID. |
| **template** | Required | An ID of a Zap Template. |
| **sign-up-first-name** | Required | First name of the user signing up. |
| **sign-up-last-name** | Required | Last name of the user signing up. |
| **sign-up-email** | Required | Email address of the user signing up. |
| **refer** or **referrer**| Required | URL of the page where the user clicked the link. |

After an account is created, a [user token still needs to be procured](https://platform.zapier.com/embed/partner-api#access-token) to access specific Partner API endpoints. Generally, since the user will already be signed in to their newly created account in an active session on Zapier, users won't have to explicitly sign in again when prompted with Zapier's OAuth flow.

Expand Down

0 comments on commit a351435

Please sign in to comment.