← Freshdesk + Recreation.gov integrations

Search Campsites with Recreation.gov API on New Ticket Created from Freshdesk API

Pipedream makes it easy to connect APIs for Recreation.gov, Freshdesk and 3,000+ other apps remarkably fast.

Trigger workflow on
New Ticket Created from the Freshdesk API
Next, do this
Search Campsites with the Recreation.gov API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a Freshdesk trigger and Recreation.gov action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Ticket Created trigger
    1. Connect your Freshdesk account
    2. Configure timer
  3. Configure the Search Campsites action
    1. Connect your Recreation.gov account
    2. Optional- Configure Query
    3. Optional- Configure Offset
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a ticket is created. [See the documentation](https://developers.freshdesk.com/api/#filter_tickets)
Version:0.0.10
Key:freshdesk-new-ticket

Freshdesk Overview

The Freshdesk API empowers you to interact programmatically with your customer support platform, creating possibilities for automating repetitive tasks, integrating with other services, and enhancing customer experiences. With Pipedream, you can effortlessly connect Freshdesk to a multitude of apps, tapping into triggers and actions that streamline workflows. For instance, you can automate ticket creation, sync customer issues with a CRM, or trigger notifications based on ticket updates, all within a serverless environment.

Trigger Code

import common from "../common/polling.mjs";

export default {
  ...common,
  key: "freshdesk-new-ticket",
  name: "New Ticket Created",
  description: "Emit new event when a ticket is created. [See the documentation](https://developers.freshdesk.com/api/#filter_tickets)",
  version: "0.0.10",
  type: "source",
  dedupe: "unique",
  methods: {
    ...common.methods,
    getResourceFn() {
      return this.freshdesk.filterTickets;
    },
    getTsField() {
      return "created_at";
    },
    generateMeta(item) {
      return {
        id: item.id,
        summary: `New Ticket (ID: ${item.id})`,
        ts: Date.parse(item.created_at),
      };
    },
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
FreshdeskfreshdeskappThis component uses the Freshdesk app.
timer$.interface.timer
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.

Trigger Authentication

Freshdesk uses API keys for authentication. When you connect your Freshdesk account, Pipedream securely stores the keys so you can easily authenticate to Freshdesk APIs in both code and no-code steps.

About Freshdesk

Customer support software

Action

Description:Searchs campsites with the given query. If no query given, returns campsites from the beginning. Returning campsite number is limited to `1000`. [See the documentation](https://ridb.recreation.gov/docs#/Campsites/getCampsites)
Version:0.0.2
Key:recreation_gov-search-campsites

Recreation.gov Overview

The Recreation.gov API provides access to data about federal recreational activities and areas. With it, you can fetch details about campsites, tours, permits, and articles. On Pipedream, leverage this API to automate notifications, analyze recreational data, or integrate with other services for trip planning or environmental monitoring.

Action Code

import app from "../../recreation_gov.app.mjs";
import utils from "../../common/utils.mjs";

export default {
  key: "recreation_gov-search-campsites",
  version: "0.0.2",
  annotations: {
    destructiveHint: false,
    openWorldHint: true,
    readOnlyHint: true,
  },
  type: "action",
  name: "Search Campsites",
  description: "Searchs campsites with the given query. If no query given, returns campsites from the beginning. Returning campsite number is limited to `1000`. [See the documentation](https://ridb.recreation.gov/docs#/Campsites/getCampsites)",
  props: {
    app,
    query: {
      type: "string",
      label: "Query",
      description: "Query filter criteria. Searches on campsite name, type, loop, type of use (Overnight/Day), campsite accessible (Yes/No)",
      optional: true,
    },
    offset: {
      type: "integer",
      label: "Offset",
      description: "Used when all results could not be retrieved due to limit of `1000`. Set this offset to fetch next resources.",
      optional: true,
    },
  },
  async run ({ $ }) {
    const resourcesStream = utils.getResourcesStream({
      resourceFn: this.app.getCampsites,
      resourceKey: "RECDATA",
      resourceLimit: 1000,
      offset: this.offset,
      resourceFnArgs: {
        $,
        params: {
          query: this.query,
        },
      },
    });
    const items = [];
    for await (const item of resourcesStream) {
      items.push(item);
    }
    // eslint-disable-next-line multiline-ternary
    $.export("$summary", `${items.length} campsite${items.length == 1 ? "" : "s"} found.`);
    return items;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Recreation.govappappThis component uses the Recreation.gov app.
Queryquerystring

Query filter criteria. Searches on campsite name, type, loop, type of use (Overnight/Day), campsite accessible (Yes/No)

Offsetoffsetinteger

Used when all results could not be retrieved due to limit of 1000. Set this offset to fetch next resources.

Action Authentication

Recreation.gov uses API keys for authentication. When you connect your Recreation.gov account, Pipedream securely stores the keys so you can easily authenticate to Recreation.gov APIs in both code and no-code steps.

Obtaining a Recreation.gov API Key

Recreation.gov's API requires an API key to authenticate requests.

First sign up for an account at https://recreation.gov

Then open the API dashboard and enabled developer access under your profile.

This will generate an API key for your account to use with Pipedream.

Copy the API key into the field below.

About Recreation.gov

The Recreation Information Database (RIDB) provides data resources to citizens, offering a single point of access to information about recreational opportunities nationwide.

More Ways to Connect Recreation.gov + Freshdesk

Get Recreation Area with Recreation.gov API on New Contact from Freshdesk API
Freshdesk + Recreation.gov
 
Try it
Get Recreation Area with Recreation.gov API on New Ticket from Freshdesk API
Freshdesk + Recreation.gov
 
Try it
Search Campsites with Recreation.gov API on New Contact from Freshdesk API
Freshdesk + Recreation.gov
 
Try it
Search Recreation Areas with Recreation.gov API on New Contact from Freshdesk API
Freshdesk + Recreation.gov
 
Try it
Search Recreation Areas with Recreation.gov API on New Ticket from Freshdesk API
Freshdesk + Recreation.gov
 
Try it
Contact Updated from the Freshdesk API

Emit new event when a contact is updated. See the documentation

 
Try it
New Contact Created from the Freshdesk API

Emit new event when a contact is created. See the documentation

 
Try it
New Ticket Created from the Freshdesk API

Emit new event when a ticket is created. See the documentation

 
Try it
Ticket Updated from the Freshdesk API

Emit new event when a ticket is updated. See the documentation

 
Try it
New Campsite Availability Changed Event from the Recreation.gov API

Emit new events when selected campsite's availability is changed. See the documentation

 
Try it
Add Note to Ticket with the Freshdesk API

Add a note or conversation to an existing ticket. See the documentation

 
Try it
Add Ticket Tags with the Freshdesk API

Add tags to a ticket (appends to existing tags). See the documentation

 
Try it
Assign Ticket to Agent with the Freshdesk API

Assign a Freshdesk ticket to a specific agent. See the documentation

 
Try it
Assign Ticket to Group with the Freshdesk API

Assign a Freshdesk ticket to a specific group See the documentation

 
Try it
Close Ticket with the Freshdesk API

Set a Freshdesk ticket's status to 'Closed'. See docs

 
Try it

Explore Other Apps

1
-
24
of
3,000+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
AWS
AWS
Premium
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Twilio SendGrid
Twilio SendGrid
Premium
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Klaviyo
Klaviyo
Premium
Klaviyo unifies your data, channels, and AI agents in one platform—text, WhatsApp, email marketing, and more—driving growth with every interaction.
Zendesk
Zendesk
Premium
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
ServiceNow
ServiceNow
Premium
Beta
The smarter way to workflow
Slack
Slack
Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.