Integrations April 12, 2024Updated: August 27, 2026

# Show a manager link in employee profiles

> A ready-made API integration: all that's left is to run it. Tips and how-tos from the Pachca team

Источник: https://pachca.com/en/blog/otobrazhenie-ssylki-na-rukovoditelya-v-profile-pachki

## A ready-made API integration: all that's left is to run it

By Ivan Dyakonov

![Show a manager link in employee profiles](https://pachca.com/blog/otobrazhenie-ssylki-na-rukovoditelya-v-profile-pachki.avif)

> Script: Show a manager link in Pachca profiles · Language: Python · Difficulty: Medium · Author: Ivan Dyakonov, project manager

### About the script

If your employees' profiles show their manager's name, the profile will now also show a clickable link to that manager in Pachca. You can jump straight to their profile, which makes finding colleagues much easier. For more ready-made automation solutions, see our [overview of Pachca integrations](https://pachca.com/en/blog/integraciya).

> Only a workspace Administrator or Owner in Pachca can set up this integration

### How to prepare for the integration

**Create a "Manager link" field**

- Go to **Members** in the left sidebar
- Click **Settings** in the top right corner
- Click **Add field**
- Enter the name "Manager link"
- Choose the **Link** field type
- Click **Save**

**Create a "Manager" field the same way if you don't have one yet**

- Make sure to fill it in: if the field is empty, the manager link won't be added

**Set up the "Manager" and "Manager link" fields so that all employees can see them**

- Go to **Members** in the left sidebar
- Click the gear icon at the top of the table
- In the window that opens, click these fields at the bottom
- Drag them into the right order

### Integration code

The script is written in Python. You can copy it and run it in a development environment such as PyCharm.

### Notes on the script

- At the top of the code, replace acces\_token in the header with your own (available to administrators: you'll find it under **Automations** → **API** in the left sidebar)
- You'll need to run the script again whenever you add employees. To avoid doing it manually, you can host it on [Yandex Cloud Functions](https://cloud.yandex.ru/ru/services/functions) and run it on an event or on a timer, for example
- Make sure every employee has the **First name** and **Last name** fields filled in. Otherwise, the script will throw an error
