How do I connect Pylon?
Connect Pylon as a pre-built channel, so a customer agent resolves issues from its own seat, just like a team member.
To connect Parahelp to Pylon, you create a user in Pylon that only the customer agent uses. From that seat it sends messages to your customers and takes actions, from updating and transferring issues to issuing refunds or troubleshooting bugs with its scoped tools. Parahelp takes you through each step in a chat, and this guide shows what steps you take in Pylon.
Before you start
Each Pylon workspace connects to one customer agent. To run more customer agents on it, connect the others as custom channels. Read more in Customer agents.
You’ll need:
Admin access in Pylon, including Settings → API tokens, Settings → Webhooks and Settings → Triggers.
An Admin in Parahelp to enter the connection details.
An email address you control for the customer agent’s Pylon user, for example parahelp@yourcompany.com.
Pylon sends updates to Parahelp through three triggers you create in step 4, each with an exact payload. Nothing reaches Parahelp until all three are active, and a payload that differs is dropped.
1. Create the customer agent’s user in Pylon
Invite a new user in Pylon with an email address you control, like any teammate. Don’t use a bot or a machine user.
Give it the customer agent’s name, for example Sam. Pylon shows this name on every message the customer agent sends.
Accept the invitation and note the user’s name and email. You’ll give them to Parahelp in step 6.
Only the customer agent should use this user. The customer agent handles every issue assigned to it.
2. Create an Admin API token for Parahelp
Open Settings → API tokens (app.usepylon.com/settings/api-tokens).
Create an API token with the role Admin and copy it.
The Act as user or bot setting is optional. If you set it, pick the customer agent’s user from step 1.
3. Connect Pylon in Parahelp
In a chat, tell Parahelp you want to connect Pylon. It sends a secure connection form to an Admin’s Inbox.
Enter the Admin API token. Keep it out of chat messages, tickets and email: it only goes in this form.
Submit the form.
Parahelp reads your Pylon organization and gives you a webhook URL and your organization ID for the next step.
4. Add the webhook and triggers
Open Settings → Webhooks (app.usepylon.com/settings/webhooks) and create a webhook with the URL from Parahelp.
Copy the webhook signing secret Pylon shows. You’ll need it in step 5.
Open Settings → Triggers (app.usepylon.com/settings/triggers) and create three triggers: Issue has a new message, Issue status changed and Issue assigned.
In each trigger’s Then box, choose Send webhook, pick the webhook you just created, and paste the payload below exactly. Replace
ORGANIZATION_IDwith the organization ID from Parahelp. It’s the same in all three triggers, and onlykinddiffers.
Issue has a new message
{"organization_id": "ORGANIZATION_ID", "issue_id": "{{ issue.id }}", "kind": "new_message"}Issue status changed
{"organization_id": "ORGANIZATION_ID", "issue_id": "{{ issue.id }}", "kind": "state_changed"}Issue assigned
{"organization_id": "ORGANIZATION_ID", "issue_id": "{{ issue.id }}", "kind": "assigned"}Then activate all three triggers.
5. Add the signing secret in Parahelp
Tell Parahelp the webhook and triggers are set up. It sends a second secure form for the webhook signing secret.
Enter the signing secret you copied in step 4.
Submit the form.
The webhook shows as awaiting verification until the first issue update comes through. That’s normal. Parahelp then confirms that both the API token and the webhook are connected.
6. Tell Parahelp which user is the customer agent
Give Parahelp the name and email of the user you created in step 1. It finds the user in your Pylon organization and confirms it with you.
7. Assign issues to the customer agent
The customer agent only works on issues assigned to its user. Assigning an issue to it hands it over, and assigning it to someone else, or clearing the assignee, takes it back. An issue that waits with no assignee never reaches it. So the last step is an assignment trigger in Pylon that assigns the right issues to the customer agent. It’s separate from the three webhook triggers in step 4.
To set up the assignment trigger in Pylon:
Open Settings → Triggers and create a trigger, for example “Assign to Sam”.
Set it to run when an issue is created.
Add conditions for the issues the customer agent should get first, for example an account tier, tag, source or form.
Add the action Set issue assignee and pick the customer agent’s user. Leave the option to assign only when the user is active turned off: the customer agent’s user is never online in Pylon.
Save and activate the trigger.
Everything else keeps your current assignment. A few things to check:
Round robin: keep the customer agent’s user out of any round robin.
Start small: assign a few test issues first, then one scope of real issues, such as one account tier, tag, source or form.
Step in any time: to take an issue over, assign it to yourself in Pylon.
Troubleshooting
Symptom | What to check |
|---|---|
Nothing reaches Parahelp | Ask Parahelp whether the API token and the webhook are both connected, and check that all three webhook triggers are active. |
The webhook stays awaiting verification | Check that all three triggers are active, that the signing secret comes from the same webhook, and that the organization ID in each payload matches the one from Parahelp. |
An issue never reached the customer agent | It isn’t assigned to the customer agent’s user. No trigger assigned it, so it has no assignee, or a trigger or a teammate gave it to someone else. |
Assigned to the customer agent, but no reply | Check that the configuration has been released (see Releases). If its messages or scoped tools need approval, check your Inbox for a request waiting for an Admin. |
The customer agent answered something outside its scope | A trigger, round robin or a teammate assigned it to the customer agent’s user. Narrow what assigned it, and assign the issue to a teammate. |
Your assignment trigger doesn’t assign issues to the customer agent | Turn off the option to assign only when the user is active. The customer agent’s user is never online in Pylon. |