This topic was automatically generated from Slack. You can find the original thread here.
Hi! I’m playing around with Triggers, and I’m looking for a way to find the link between the Deployed Trigger and the trigger key.
Request
curl --location --request GET 'https://api.pipedream.com/v1/connect/<proj_id>/deployed-triggers/<trigger_id>?external_user_id=<user_id>' \
--header 'X-PD-Environment: development' \
--header 'Authorization: Bearer ...'
Response
{
"data": {
"id": "...",
"owner_id": "...",
"component_id": "sc_WGiNNvN1",
"configurable_props": [
{
"name": "googleSheets",
"type": "app",
"app": "google_sheets"
},
{
"name": "db",
"type": "$.service.db"
},
{
"name": "http",
"type": "$.interface.http"
},
{
"name": "timer",
"label": "Push notification renewal schedule",
"description": "The Google Drive API requires occasionally renewal of push notification subscriptions. ****This runs in the background, so you should not need to modify this schedule****.",
"type": "$.interface.timer",
"static": {
"intervalSeconds": 82080
}
},
{
"name": "watchedDrive",
"type": "string",
"label": "Drive",
"description": "Defaults to My Drive. To select a [Shared Drive](https://support.google.com/a/users/answer/9310351) instead, select it from this list.",
"optional": true,
"default": "My Drive",
"remoteOptions": true
},
{
"name": "sheetID",
"type": "string",
"label": "Spreadsheet ID",
"description": "Select a spreadsheet or provide a spreadsheet ID",
"useQuery": true,
"remoteOptions": true
},
{
"name": "worksheetIDs",
"type": "string[]",
"label": "Worksheet ID(s)",
"description": "Select one or more worksheet(s), or provide an array of worksheet IDs.",
"remoteOptions": true
}
],
"configured_props": { ... },
"active": true,
"created_at": 1751551804,
"updated_at": 1751551804,
"name": "...",
"name_slug": "..."
}
}
If I go to https://pipedream.com/sources/<trigger_id> , I do visually see the trigger name, so there is a link somewhere, but I’m having a hard time finding the way to do that. I do see a component_id in the response, but querying https://api.pipedream.com/v1/connect/<proj_id>/triggers/sc_WGiNNvN1 gives me a 404.
Is there any way to get this information? Otherwise I’d need to also store it on our side, which ofc isn’t the worst, but I like it more when things can’t get out of sync ever ![]()