Connectors

/

Ramp

/

Deactivate Ramp users who are inactive in Procore
Write
Cross-Connector

Deactivate Ramp users who have left in Procore

For IT and finance administrators who want Ramp access removed for people inactive in Procore, by asking their AI assistant and approving the list.

Try PopdockAI free
Get a live demo
Deactivate Ramp users who are inactive in Procore
Find people who became inactive in Procore since 1 May but are still active in Ramp. Show me the list before you change anything.
3 people inactive in Procore are still active in Ramp. - Dana Whitfield, dana@northwindtraders.com: Ramp role Employee, inactive in Procore from 12 May - Tom Reyes, tom@fabrikam.com: Ramp role Approver, inactive in Procore from 20 May - Priya Shah, priya@contoso.com: Ramp role Employee, inactive in Procore from 3 June - Left out: 1 user already scheduled for deactivation Which of these rows should I deactivate, or say all?
Ramp
Sample figures. Your results come from your own account.
procore-get-users-inactive
procore-get-users
ramp-get-user
ramp-user-deactivate

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Ramp

Ramp
Run it on your own Ramp data.

Connect Ramp, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Leavers keep spend access in Ramp

Nobody cross-checks the Procore directory against Ramp, so people who left stay active with spend access. Closing the gap means exporting two lists, matching emails and switching each user off by hand.

Without PopdockAI

  • Export inactive users from Procore
  • Match their emails to Ramp users
  • Check which are already being deactivated
  • Open each Ramp user and deactivate them one by one

With PopdockAI

  • Inactive Procore users are matched to Ramp on email only
  • Users already deactivating are left out, with the reason given
  • You choose the rows, and a general yes is not enough
  • Each deactivation is made once and read back to confirm

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Find people who are inactive in Procore but still have an active Ramp user, show the list, and deactivate in Ramp only the ones the person approves. Only consider Procore users deactivated on or after `{inactive-since}` (default: all).

**Step 1: Read inactive Procore users**

Call `procore-get-users-inactive`, adding `date-updated.from` set to `{inactive-since}` when given. For each user, call `procore-get-users` with `user-id` set to the user's `id` to read `email-address`. Skip users with no email and list them as unmatchable.

**Step 2: Find them in Ramp**

Call `ramp-get-user` and match on lower-cased email. Keep the Ramp `id`, `role`, `status` and `scheduled-deactivation-date`. Leave out anyone whose status is not active or who already has a scheduled deactivation, and say who was left out and why.

**Step 3: Confirm and deactivate**

Show a table: name, email, Ramp role, Ramp status, Procore date updated. Ask the person which rows to deactivate, and do not proceed on a general yes without a list or the word all. For each approved row call `ramp-user-deactivate` once with the Ramp `id`, then call `ramp-get-user` with that `id` and report the resulting status.

**Rules & Guidelines:**

* `procore-get-users-inactive` and `procore-get-users` are on the Procore core server. `ramp-get-user` and `ramp-user-deactivate` are on the Ramp server.
* `ramp-user-deactivate` is the only write tool, called only for approved rows. Do not call `ramp-user-update`, `ramp-user-add` or any Procore write tool.
* Never deactivate a user matched by name alone.

**Validation:**

* If there is nothing to deactivate, say so and stop without asking.
* If two Ramp users share the email, list both and skip them.
* If a deactivation fails, report it and carry on with the others.

Who it's for

One answer, three teams that use it

IT administrators

Close access when people leave

Get a ready list of leavers still active in Ramp and deactivate the ones you approve in one conversation.

Show Ramp users who are inactive in Procore, then deactivate the ones I approve.

Finance controllers

Reduce spend access risk

Remove card and expense access for people no longer with the company, with a record of the new status.

Find Ramp users who left Procore since 1 June and list them before any change.

HR operations

Support leaver checklists

Run a regular check after offboarding so nobody keeps Ramp access by accident.

After last month's offboarding, which people are inactive in Procore but still active in Ramp?

How it works

What PopdockAI does when you ask

You optionally set a date. Your AI assistant builds the list, and deactivates only the rows you name.

Ask

You give an optional date to look at recently inactive users.

Your AI tool

Find

It reads the inactive Procore users and finds them in Ramp by email, leaving out those already deactivating.

procore-get-users-inactive
procore-get-users
ramp-get-user

Confirm

You see the table and choose which rows to deactivate, by list or by saying all.

No items found.

Deactivate

It deactivates each approved row once and reads each user again to report the new status.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Ramp and one secure connection to your AI tool. No code, no exports.

get-data

procore-get-users-inactive

Returns the Procore company users who have been made inactive, with id, name and company. Filter by date updated to find recent leavers.
get-data

procore-get-users

Returns the users in the Procore company directory, with name, email, employee flag and active status.
get-data

ramp-get-user

Returns Ramp users as read from the Ramp connector. Filters include: scheduled invitation date to, status, last name, maximum records, role.
run-action

ramp-user-deactivate

Deactivate user in Ramp. Writes to the live Ramp account. Not individually tested, so try it against a sandbox Ramp account first.
Read only.Nothing in Ramp Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Leavers off Ramp quickly, with every change confirmed

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation