\\\",\\n \\\"css_content\\\" : \\\".tweet-text{background-color:#fff2ac;background-image:linear-gradient(to right,#ffe359 0,#fff2ac 100%);font-weight:bolder;font-size:32px;font-family:Roboto,sans-serif;padding:4px}\\\",\\n \\\"generate_img_url\\\": true\\n}\",\"__typename\":\"OauthBody\"},\"bodyParams\":[],\"authorization\":{\"type\":null,\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[],\"metadataExtracts\":[],\"cellParams\":[],\"tab\":\"Body\",\"__typename\":\"OauthReq\"},\"marketplaceContent\":null,\"integrationConnections\":{\"nodes\":[{\"id\":\"int_e9sByxM8\",\"slug\":\"convert-html-to-image-with-html-to-image-api-on-new-requests-from-http-webhook-api\",\"title\":\"Convert HTML to Image with HTML to Image API on New Requests from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_g2sZeG3V\",\"slug\":\"convert-html-to-pdf-with-html-to-image-api-on-new-requests-from-http-webhook-api\",\"title\":\"Convert HTML to PDF with HTML to Image API on New Requests from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_XespbMM8\",\"slug\":\"convert-url-to-image-with-html-to-image-api-on-new-requests-from-http-webhook-api\",\"title\":\"Convert URL to Image with HTML to Image API on New Requests from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_7vs4eyB0\",\"slug\":\"convert-url-to-pdf-with-html-to-image-api-on-new-requests-from-http-webhook-api\",\"title\":\"Convert URL to PDF with HTML to Image API on New Requests from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_LMsZOABe\",\"slug\":\"convert-html-to-image-with-html-to-image-api-on-new-requests-payload-only-from-http-webhook-api\",\"title\":\"Convert HTML to Image with HTML to Image API on New Requests (Payload Only) from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests-payload-only\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_m8s9R6Ag\",\"slug\":\"convert-html-to-pdf-with-html-to-image-api-on-new-requests-payload-only-from-http-webhook-api\",\"title\":\"Convert HTML to PDF with HTML to Image API on New Requests (Payload Only) from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests-payload-only\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_yqs5WDDB\",\"slug\":\"convert-url-to-image-with-html-to-image-api-on-new-requests-payload-only-from-http-webhook-api\",\"title\":\"Convert URL to Image with HTML to Image API on New Requests (Payload Only) from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests-payload-only\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_OqsKgr74\",\"slug\":\"convert-url-to-pdf-with-html-to-image-api-on-new-requests-payload-only-from-http-webhook-api\",\"title\":\"Convert URL to PDF with HTML to Image API on New Requests (Payload Only) from HTTP / Webhook API\",\"triggerKey\":\"http-new-requests-payload-only\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_pQsOge6Z\",\"slug\":\"convert-html-to-image-with-html-to-image-api-on-new-event-when-the-content-of-the-url-changes-from-http-webhook-api\",\"title\":\"Convert HTML to Image with HTML to Image API on New event when the content of the URL changes. from HTTP / Webhook API\",\"triggerKey\":\"http-watch-url\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_OqsKgrLo\",\"slug\":\"convert-html-to-pdf-with-html-to-image-api-on-new-event-when-the-content-of-the-url-changes-from-http-webhook-api\",\"title\":\"Convert HTML to PDF with HTML to Image API on New event when the content of the URL changes. from HTTP / Webhook API\",\"triggerKey\":\"http-watch-url\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-html-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_ozsWQQW9\",\"slug\":\"convert-url-to-image-with-html-to-image-api-on-new-event-when-the-content-of-the-url-changes-from-http-webhook-api\",\"title\":\"Convert URL to Image with HTML to Image API on New event when the content of the URL changes. from HTTP / Webhook API\",\"triggerKey\":\"http-watch-url\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-image\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"},{\"id\":\"int_6PsBLL38\",\"slug\":\"convert-url-to-pdf-with-html-to-image-api-on-new-event-when-the-content-of-the-url-changes-from-http-webhook-api\",\"title\":\"Convert URL to PDF with HTML to Image API on New event when the content of the URL changes. from HTTP / Webhook API\",\"triggerKey\":\"http-watch-url\",\"triggerApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"__typename\":\"App\"},\"actionKey\":\"html_to_image-convert-url-to-pdf\",\"actionApp\":{\"id\":\"app_dBhwjL\",\"name\":\"HTML to Image\",\"__typename\":\"App\"},\"__typename\":\"Integration\"}],\"__typename\":\"IntegrationConnection\"}},\"otherApp\":{\"id\":\"app_X7LhNG\",\"name\":\"HTTP / Webhook\",\"nameSlug\":\"http\",\"description\":\"Get a unique URL where you can send HTTP or webhook requests\",\"appPrompts\":[{\"id\":\"8900\",\"label\":\"Webhook Responder\",\"prompt\":\"Create an agent that receives webhook events from any service, processes the payload, and returns a customized response. The agent should: 1) Set up an HTTP endpoint that accepts POST requests, 2) Parse the incoming JSON payload, 3) Extract specific fields from the payload, 4) Transform the data if needed, 5) Return a JSON response with a 200 status code and confirmation message. Include error handling for malformed requests.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8901\",\"label\":\"API Aggregator\",\"prompt\":\"Create an agent that aggregates data from multiple external APIs and returns a combined response. The agent should: 1) Set up an HTTP endpoint that accepts GET requests with query parameters, 2) Make parallel requests to multiple third-party APIs based on the input parameters, 3) Wait for all responses, 4) Combine and transform the data from all APIs into a single unified format, 5) Return the aggregated data as a JSON response. Include rate limiting and error handling.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8902\",\"label\":\"Scheduled API Poller\",\"prompt\":\"Create an agent that periodically polls an external API for new data and processes the results. The agent should: 1) Run on a schedule (every hour), 2) Send an HTTP GET request to a specified API endpoint, 3) Compare the response with previously stored data to identify new items, 4) Process only the new data items, 5) Store the latest response for future comparison. Include error handling for API failures and options to customize the polling interval.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8903\",\"label\":\"Form Submission Handler\",\"prompt\":\"Create an agent that processes form submissions from a website and stores the data. The agent should: 1) Set up an HTTP endpoint that accepts POST requests with form data, 2) Validate the incoming form fields (required fields, email format, etc.), 3) Clean and normalize the data, 4) Store the submission in a database or spreadsheet, 5) Send a confirmation email to the submitter, 6) Return a success response that can redirect the user to a thank you page. Include CORS configuration and security measures.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8904\",\"label\":\"Webhook Broadcaster\",\"prompt\":\"Create an agent that receives a webhook and forwards the payload to multiple destinations. The agent should: 1) Set up an HTTP endpoint that accepts POST requests, 2) Parse the incoming payload, 3) Optionally transform the data for each destination, 4) Send the payload to multiple configured endpoints (other webhooks, APIs, etc.) in parallel, 5) Collect all delivery statuses, 6) Return a summary response with the status of each delivery. Include retry logic for failed deliveries.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8905\",\"label\":\"API Authentication Proxy\",\"prompt\":\"Create an agent that acts as a secure proxy for a third-party API, handling authentication and rate limiting. The agent should: 1) Set up an HTTP endpoint that accepts requests with simplified authentication, 2) Validate the incoming request and authenticate the client, 3) Transform the request as needed and add the proper authentication headers/tokens for the third-party API, 4) Forward the request to the external API, 5) Return the API response to the original caller. Include rate limiting to prevent abuse and cache common responses.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8906\",\"label\":\"Webhook Debugger\",\"prompt\":\"Create an agent that helps debug webhook payloads by logging and visualizing incoming requests. The agent should: 1) Set up an HTTP endpoint that accepts any type of request (GET, POST, etc.), 2) Log the complete request including headers, query parameters, and body, 3) Store the request history with timestamps, 4) Provide a response that includes a unique ID for the request, 5) Optionally notify the developer of new requests via email or other channels. Include functionality to replay captured requests for testing.\",\"__typename\":\"AppPrompt\"},{\"id\":\"8907\",\"label\":\"API Status Monitor\",\"prompt\":\"Create an agent that monitors the status of multiple APIs and alerts when issues are detected. The agent should: 1) Run on a schedule (every 5 minutes), 2) Send HTTP requests to a list of API health endpoints, 3) Measure response times and validate expected responses, 4) Detect downtime or performance degradation, 5) Send alerts via email, SMS, or other channels when problems are found, 6) Maintain a history of uptime and performance metrics. Include configurable thresholds for alerts.\",\"__typename\":\"AppPrompt\"}],\"authType\":null,\"customFieldsDescriptionMd\":\"\",\"oauthScopes\":[],\"customFields\":[],\"oauthReqsByType\":{\"requestToken\":{\"httpMethod\":\"POST\",\"url\":\"\",\"urlParams\":[],\"headerParams\":[],\"body\":null,\"bodyParams\":[],\"authorization\":{\"type\":\"OAuth\",\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[],\"metadataExtracts\":null,\"cellParams\":null,\"tab\":null,\"__typename\":\"OauthReq\"},\"authorization\":{\"httpMethod\":\"GET\",\"url\":\"\",\"urlParams\":[{\"key\":\"client_id\",\"value\":\"{{oauth.client_id}}\",\"__typename\":\"Kv\"},{\"key\":\"redirect_uri\",\"value\":\"{{oauth.redirect_uri}}\",\"__typename\":\"Kv\"},{\"key\":\"state\",\"value\":\"{{oauth.state}}\",\"__typename\":\"Kv\"},{\"key\":\"response_type\",\"value\":\"code\",\"__typename\":\"Kv\"},{\"key\":\"scope\",\"value\":\"{{oauth.space_separated_scopes}}\",\"__typename\":\"Kv\"}],\"headerParams\":[],\"body\":null,\"bodyParams\":[],\"authorization\":{\"type\":null,\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[],\"metadataExtracts\":null,\"cellParams\":null,\"tab\":null,\"__typename\":\"OauthReq\"},\"accessToken\":{\"httpMethod\":\"POST\",\"url\":\"\",\"urlParams\":[],\"headerParams\":[{\"key\":\"content-type\",\"value\":\"application/x-www-form-urlencoded\",\"__typename\":\"Kv\"},{\"key\":\"accept\",\"value\":\"application/json\",\"__typename\":\"Kv\"}],\"body\":null,\"bodyParams\":[{\"key\":\"client_id\",\"value\":\"{{oauth.client_id}}\",\"__typename\":\"Kv\"},{\"key\":\"client_secret\",\"value\":\"{{oauth.client_secret}}\",\"__typename\":\"Kv\"},{\"key\":\"redirect_uri\",\"value\":\"{{oauth.redirect_uri}}\",\"__typename\":\"Kv\"},{\"key\":\"grant_type\",\"value\":\"authorization_code\",\"__typename\":\"Kv\"},{\"key\":\"code\",\"value\":\"{{oauth.code}}\",\"__typename\":\"Kv\"}],\"authorization\":{\"type\":null,\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[],\"metadataExtracts\":null,\"cellParams\":null,\"tab\":null,\"__typename\":\"OauthReq\"},\"refreshToken\":{\"httpMethod\":\"POST\",\"url\":\"\",\"urlParams\":[],\"headerParams\":[{\"key\":\"content-type\",\"value\":\"application/x-www-form-urlencoded\",\"__typename\":\"Kv\"},{\"key\":\"accept\",\"value\":\"application/json\",\"__typename\":\"Kv\"}],\"body\":null,\"bodyParams\":[{\"key\":\"client_id\",\"value\":\"{{oauth.client_id}}\",\"__typename\":\"Kv\"},{\"key\":\"client_secret\",\"value\":\"{{oauth.client_secret}}\",\"__typename\":\"Kv\"},{\"key\":\"grant_type\",\"value\":\"refresh_token\",\"__typename\":\"Kv\"},{\"key\":\"refresh_token\",\"value\":\"{{oauth.refresh_token}}\",\"__typename\":\"Kv\"}],\"authorization\":{\"type\":null,\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[],\"metadataExtracts\":null,\"cellParams\":null,\"tab\":null,\"__typename\":\"OauthReq\"},\"__typename\":\"OauthReqsByType\"},\"__typename\":\"App\",\"registryComponents\":[{\"id\":\"sc_Zrirvaoe\",\"key\":\"http-new-requests\",\"name\":\"New Requests\",\"description\":\"Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.\",\"type\":\"SOURCE\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_EgirgYEl\",\"key\":\"http-new-requests-payload-only\",\"name\":\"New Requests (Payload Only)\",\"description\":\"Get a URL and emit the HTTP body as an event on every request\",\"type\":\"SOURCE\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_bnikeZ05\",\"key\":\"http-custom-request\",\"name\":\"Send any HTTP Request\",\"description\":\"Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_GBiJBype\",\"key\":\"http-get-request\",\"name\":\"Send GET Request\",\"description\":\"Send an HTTP GET request to any URL. Optionally configure query string parameters, headers and basic auth.\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_k3ixzQDa\",\"key\":\"http-post-request\",\"name\":\"Send POST Request\",\"description\":\"Send an HTTP POST request to any URL. Optionally configure query string parameters, headers and basic auth.\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_r1ilAroE\",\"key\":\"http-put-request\",\"name\":\"Send PUT Request\",\"description\":\"Send an HTTP PUT request to any URL. Optionally configure query string parameters, headers and basic auth.\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_Q2iBRweq\",\"key\":\"http-watch-url\",\"name\":\"New event when the content of the URL changes.\",\"description\":\"Emit new event when the content of the URL changes.\",\"type\":\"SOURCE\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_L4iqRbLe\",\"key\":\"http-return-http-response\",\"name\":\"Return HTTP Response\",\"description\":\"Use with an HTTP trigger that uses \\\"Return a custom response from your workflow\\\" as its `HTTP Response`\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_A3ip30Nx\",\"key\":\"http-validate-webhook-auth\",\"name\":\"Validate Webhook Auth\",\"description\":\"Require authorization for incoming HTTP webhook requests. Make sure to configure the HTTP trigger to \\\"Return a custom response from your workflow\\\".\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"},{\"id\":\"sc_v4ixNEqA\",\"key\":\"http-verify-hmac-signature\",\"name\":\"Verify HMAC Signature\",\"description\":\"Validate HMAC signature for incoming HTTP webhook requests. Make sure to configure the HTTP trigger to \\\"Return a custom response from your workflow\\\".\",\"type\":\"ACTION\",\"__typename\":\"SavedComponent\"}],\"componentCodeScaffoldRaw\":\"// To use any npm package on Pipedream, just import it\\nimport axios from \\\"axios\\\"\\n\\nexport default defineComponent({\\n async run({ steps, $ }) {\\n const { data } = await axios({\\n method: \\\"GET\\\",\\n url: \\\"https://pokeapi.co/api/v2/pokemon/charizard\\\",\\n })\\n return data.species\\n },\\n})\\n\",\"testRequest\":{\"httpMethod\":\"GET\",\"url\":\"https://pokeapi.co/api/v2/pokemon/charizard\",\"urlParams\":[],\"headerParams\":[],\"body\":null,\"bodyParams\":[],\"authorization\":{\"type\":null,\"basicUsername\":\"\",\"basicPassword\":\"\",\"bearerToken\":\"\",\"oauthAccessToken\":null,\"oauthRefreshToken\":null,\"oauthSignerUri\":null,\"__typename\":\"Authorization\"},\"extracts\":[{\"field\":\"uid\",\"path\":\"id\",\"optional\":null,\"__typename\":\"Extract\"},{\"field\":\"info\",\"path\":\"email\",\"optional\":null,\"__typename\":\"Extract\"}],\"metadataExtracts\":[],\"cellParams\":[],\"tab\":null,\"__typename\":\"OauthReq\"},\"marketplaceContent\":{\"id\":\"14\",\"markdown\":\"# Overview\\n\\nBuild, test, and send HTTP requests without code using your Pipedream workflows. The HTTP / Webhook action is a tool to build HTTP requests with a Postman-like graphical interface.\\n\\n![An interface for configuring an HTTP request within Pipedream's workflow system. The current selection is a GET request with fields for the request URL, authorization type (set to 'None' with a note explaining \\\"This request does not use authorization\\\"), parameters, headers (with a count of 1, though the detail is not visible), and body. Below the main configuration area is an option to \\\"Include Response Headers,\\\" and a button labeled \\\"Configure to test.\\\" The overall layout suggests a user-friendly, no-code approach to setting up custom HTTP requests.](https://res.cloudinary.com/pipedreamin/image/upload/v1712765140/marketplace/apps/http/CleanShot_2024年04月10日_at_11.53.07_u5anis.png)\\n\\n## Point and click HTTP requests\\n\\nDefine the target URL, HTTP verb, headers, query parameters, and payload body without writing custom code.\\n\\n![A screenshot of Pipedream's HTTP Request Configuration interface with a GET request type selected. The request URL is set to 'https://api.openai.com/v1/models'. The 'Auth' tab is highlighted, indicating that authentication is required for this request. In the headers section, there are two headers configured: 'User-Agent' is set to 'pipedream/1', and 'Authorization' is set to 'Bearer {{openai_api_key}}', showing how the OpenAI account's API key is dynamically inserted into the headers to handle authentication automatically.](https://res.cloudinary.com/pipedreamin/image/upload/v1712765340/marketplace/apps/http/CleanShot_2024年04月10日_at_12.08.25_ab89hj.png)\\n\\n[Here's an example workflow that uses the HTTP / Webhook action to send an authenticated API request to OpenAI.](https://pipedream.com/new?h=tch_v4fzLp)\\n\\n## Focus on integrating, not authenticating\\n\\nThis action can also use your connected accounts with third-party APIs. Selecting an integrated app will automatically update the request’s headers to authenticate with the app properly, and even inject your token dynamically. \\n\\n![This GIF depicts the process of selecting an application within Pipedream's HTTP Request Builder. A user hovers the cursor over the 'Auth' tab and clicks on a dropdown menu labeled 'Authorization Type', then scrolls through a list of applications to choose from for authorization purposes. The interface provides a streamlined and intuitive method for users to authenticate their HTTP requests by selecting the relevant app in the configuration settings.](https://res.cloudinary.com/pipedreamin/image/upload/v1712765587/marketplace/apps/http/CleanShot_2024年04月10日_at_12.12.34_e6zrft.gif)\\n\\nPipedream integrates with thousands of APIs, but if you can’t find a Pipedream integration simply use [Environment Variables](https://pipedream.com/docs/environment-variables) in your request headers to authenticate with.\\n\\n## Compatible with no code actions or Node.js and Python\\n\\nThe HTTP/Webhook action exports HTTP response data for use in subsequent workflow steps, enabling easy data transformation, further API calls, database storage, and more.\\n\\nResponse data is available for both coded (Node.js, Python) and no-code steps within your workflow.\\n\\n![An image showing the Pipedream interface where the HTTP Webhook action has returned response data as a step export. The interface highlights a structured view of the returned data with collapsible sections. We can see 'steps.custom_request1' expanded to show 'return_value' which is an object containing a 'list'. Inside the list, an item 'data' is expanded to reveal an element with an 'id' of 'whisper-1', indicating a model created by and owned by 'openai-internal'. Options to 'Copy Path' and 'Copy Value' are available for easy access to the data points.](https://res.cloudinary.com/pipedreamin/image/upload/v1712765724/marketplace/apps/http/CleanShot_2024年04月10日_at_12.15.11_mkezj8.png)\\n\\n# Getting Started\\n\\nThe HTTP / Webhook action is flexible. You can use it with your [Pipedream connected accounts](https://pipedream.com/docs/connected-accounts), import cURL commands, or manually define authentication headers with API keys stored in [Environment Variables](https://pipedream.com/docs/environment-variables).\\n\\n## Connecting to an API with a Pipedream connected account\\n\\nWe recommend choosing this approach to authenticate your HTTP requests. Pipedream will manage your connected accounts, even rotating OAuth tokens, and you can focus on implementing the payload details.\\n\\nStart by adding the HTTP/Webhook action as a new step in your workflow.\\n\\n![The image displays a user interface within Pipedream's workflow editor. On the left sidebar, under \\\"Apps,\\\" various application options are listed, including Node, Python, OpenAI (ChatGPT), and others, each with a number indicating available actions. A red arrow points to the \\\"HTTP / Webhook\\\" option, which is highlighted and shows that there are 10 actions available for it. On the right, a panel titled \\\"Actions → Popular\\\" lists options such as \\\"Build API Request,\\\" \\\"Run custom code,\\\" and others, suggesting these are commonly used or recommended actions for building workflows. The overall design of the interface emphasizes user-friendliness and ease of navigation.](https://res.cloudinary.com/pipedreamin/image/upload/v1712765837/marketplace/apps/http/CleanShot_2024年04月10日_at_12.16.59_y1mu9t.png)\\n\\nThen select Use app to search for the API you’d like to send this HTTP request to. Then use 'Select App' to find and choose the API for your HTTP request:\\n\\n![The image shows a close-up of the HTTP Request Configuration pane in Pipedream's interface, focusing on the 'Auth' tab. A red arrow points to the 'Authorization Type' dropdown menu, which is expanded to show different authentication types including 'None', 'Basic Auth', 'Bearer Token', and highlighted is the 'Select an app' option. This demonstrates the step where a user can select the type of authorization for their HTTP request, with the option to easily choose an app for integrated authentication.](https://res.cloudinary.com/pipedreamin/image/upload/v1712766063/marketplace/apps/http/CleanShot_2024年04月10日_at_12.20.36_kr51sx.png)\\n\\nThen connect your account, if the app has OAuth then Pipedream will initiate the OAuth sequence and automatically rotate your tokens for you.\\n\\nAfter connecting your account, the URL, verb, and headers update to enable a valid authenticated request.\\n\\nThen click **Test** to send the HTTP request:\\n\\n![The image displays the Pipedream HTTP Request Configuration panel with a GET method selected and the request URL 'https://api.openai.com/v1/models' entered. Two headers are configured: 'User-Agent' with the value 'pipedream/1' and 'Authorization' with a dynamic variable 'Bearer {{openai_api_key}}' to automatically insert the OpenAI API key. A red arrow points towards the 'Authorization' header field, emphasizing the insertion of the API key. Below the headers, there's an option to 'Include Response Headers', and at the bottom, there's a 'Test' button to send the HTTP request.](https://res.cloudinary.com/pipedreamin/image/upload/v1712766296/marketplace/apps/http/CleanShot_2024年04月10日_at_12.24.25_f9ne9h.png)\\n\\n\\nIn the **Exports** tab, you’ll see the data the API responds with. You can click Copy Path next to an attribute to copy the path to that specific variable to your clipboard for easy pasting in other steps.\\n\\n![The image shows a section of the Pipedream workflow interface under the 'Exports' tab. It details the output of a custom HTTP request step labeled 'steps.custom_request1'. The output, named '$return_value', is an object represented as a list. The list is expanded to reveal 'data' with 30 entries. The first entry is further expanded, displaying details of a model with the ID 'whisper-1', indicating it's an object called 'model' that was created at the UNIX timestamp '1677532384' and is owned by 'openai-internal'.](https://res.cloudinary.com/pipedreamin/image/upload/v1712766450/marketplace/apps/http/CleanShot_2024年04月10日_at_12.27.19_xr9kyp.gif)\\n\\n### Connecting to an API with an imported cURL command\\n\\nAPI documentation sometimes include cURL commands as examples. The HTTP request builder action can recognize cURL and update your request configuration to match.\\n\\nFor example, the OpenAI documentation includes an example cURL command to send a prompt to ChatGPT:\\n\\n```bash\\ncurl https://api.openai.com/v1/chat/completions \\\\\\n -H \\\"Content-Type: application/json\\\" \\\\\\n -H \\\"Authorization: Bearer $OPENAI_API_KEY\\\" \\\\\\n -d '{\\n \\\"model\\\": \\\"gpt-3.5-turbo\\\",\\n \\\"messages\\\": [\\n {\\n \\\"role\\\": \\\"system\\\",\\n \\\"content\\\": \\\"You are a helpful assistant.\\\"\\n },\\n {\\n \\\"role\\\": \\\"user\\\",\\n \\\"content\\\": \\\"Hello!\\\"\\n }\\n ]\\n }'\\n```\\n\\nConfigure the HTTP request to match this cURL command by clicking *Import cURL*:\\n\\n![The image shows a segment of the Pipedream HTTP Request Configuration interface, where the 'GET' method is selected as the type of HTTP request. A red arrow points towards the 'Import cURL' button located in the top right corner, indicating where users can click to import a cURL command into the workflow for configuration. The 'Enter request URL' field is highlighted, awaiting the user's input. Additionally, tabs for 'Auth', 'Params', 'Headers', and 'Body' are visible, with a notation that there is one header set. The 'Configure' label at the top indicates the setup process is 'Incomplete'.](https://res.cloudinary.com/pipedreamin/image/upload/v1712767353/marketplace/apps/http/CleanShot_2024年04月10日_at_12.42.18_ula7yc.png)\\n\\nThen paste in the cURL command and click *Import*:\\n\\n![The image shows a dialog box titled \\\"Import Curl\\\" within Pipedream's interface, where a cURL command is ready to be imported. The cURL command includes the API endpoint 'https://api.openai.com/v1/chat/completions', headers for 'Content-Type' and 'Authorization', and a JSON payload specifying a model 'gpt-3.5-turbo' with a series of messages. A red arrow points towards the 'IMPORT' button, indicating that clicking this will import the cURL command into the Pipedream workflow. The 'CANCEL' button is also visible for opting not to proceed with the import.](https://res.cloudinary.com/pipedreamin/image/upload/v1712767458/marketplace/apps/http/CleanShot_2024年04月10日_at_12.44.02_xjufrs.png)\\n\\nThis will configure the HTTP request to match the details of the cURL statement:\\n\\n![The image is a screenshot of the Pipedream HTTP Request Configuration panel after importing a cURL command. It displays a filled-out form with a GET request set to the URL 'https://api.openai.com/v1/chat/completions'. The 'Auth' tab is highlighted, indicating that authentication has been configured. The 'Headers' tab shows '3' indicating multiple headers have been set, including 'Content-Type' with the value 'application/json'. The 'Body' tab is active, showing 'model' set to 'gpt-3.5-turbo' and 'messages' containing a JSON array with two objects, each specifying a 'role' and 'content', indicating the structure of the data to be sent with the request.](https://res.cloudinary.com/pipedreamin/image/upload/v1712767841/marketplace/apps/http/CleanShot_2024年04月10日_at_12.50.29_ia5ago.png)\\n\\nDon't forget to inject your API keys into the headers. We recommend using [Environment Variables](https://pipedream.com/docs/environment-variables) to store your non-Pipedream managed account API keys.\\n\\nFor example, storing your OpenAI API key as `OPEN_API_KEY` you can then reference it in the `Authorization` header like so:\\n\\n```\\n{{ process.env[\\\"OPEN_API_KEY\\\"] }}\\n```\\n\\nThen your key will be injected into the request.\\n\\n# Troubleshooting\\n\\nYou may run into issues integrating with other APIs. Typically these are errors thrown by the API you’re attempting to integrate with.\\n\\nCommon HTTP status codes provide a standard, but implementations may vary. Please check the API documentation for the service or app you’re integrating with for more details.\\n\\nBelow are a list of common errors when sending HTTP requests to 3rd party APIs:\\n\\n## Resource Not Found (404)\\n\\nThis means that the API request successfully authenticated, but the resource you’re attempting to retrieve or act on doesn’t exist.\\n\\nFor example, if you’re attempting to update a Google Sheet but that sheet has been deleted, then you’ll see a 404 HTTP status code.\\n\\n## Method not allowed (405)\\n\\nThis error message means that you attempted to access an endpoint but the HTTP verb the request is using isn’t supported.\\n\\nFor example, you might have sent a `GET` request instead of a `POST` request or vice versa. This error is usually fixed by double checking that the HTTP action the request is configured with matches what the endpoint supports.\\n\\n## Invalid Request (422)\\n\\nThis error indicates the request's payload lacks data or contains invalid data.\\n\\nUsually the API’s response will give you a list of errors that give more details.\\n\\nFor example, if you attempt to create a Google Calendar event, but the `start_at` date is **after** the `end_at` date, then the API will return a 422 error because you can’t create an event that ends before it starts.\\n\\nIf this error happens only intermittently, it could mean that downstream data is missing or occasionally produces invalid payloads. You’ll need to select the broken use case in the builder, and test it to find the culprit.\\n\\n## Rate limited (429)\\n\\nAPIs typically implement rate limits. A rate limit defines how many times you’re allowed to send requests to the API within a specific time frame.\\n\\nExceeding this limit prompts the API to respond with a 429 status code and reject the requests.\\n\\nYou can use Concurrency and Rate Limiting controls within your Pipedream workflow settings to respect these 3rd party API limits, and you can also enable Automatic Retries to attempt the request again.\\n\\n## Not Authorized or Forbidden (401)\\n\\nThis error means that either your request isn’t authentication properly, meaning that your API token is missing or is in the incorrect header; or potentially it means that your API key is valid but it doesn’t have the permissions required to access that resource.\\n\\nFor example, you might see this error if your API key is missing a character, or is incorrectly formatted in the request.\\n\\nA common cause is omitting 'Bearer' or the space after it in the **`Authorization`** header: **`Bearer ${your API key here}`**.\\n\\nAn authorization error can happen if you attempt to modify a resource your account on that service doesn’t have permission to access.\\n\\nFor example, modifying a Google Sheet not shared with your Google Drive account will result in a permissions error.\\n\\n## Internal Server Error (50x)\\n\\nThis means that the API encountered a fatal error and it wasn’t able to perform your request. It could be that this service is having an outage, or there’s a specific issue with this particular resource you’re attempting to access or modify.\\n\\nYour request might be configured correctly, and your authentication headers properly set, but the issue is within the 3rd party’s API. We recommend contacting their customer support for more details.\\n\\nYou can also enable Automatic Retries on your workflow to automatically retry failed requests in case of an intermittent outage.\\n\",\"__typename\":\"MarketplaceContent\"}}}","hasNext":false}}

What do you want to automate

with HTML to Image and HTTP / Webhook?

Prompt, edit and deploy AI agents that connect to HTML to Image, HTTP / Webhook and 3,000+ other apps in seconds.

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
Convert HTML to Image with HTML to Image API on New Requests from HTTP / Webhook API
HTTP / Webhook + HTML to Image
Try it
Convert HTML to PDF with HTML to Image API on New Requests from HTTP / Webhook API
HTTP / Webhook + HTML to Image
Try it
Convert URL to Image with HTML to Image API on New Requests from HTTP / Webhook API
HTTP / Webhook + HTML to Image
Try it
Convert URL to PDF with HTML to Image API on New Requests from HTTP / Webhook API
HTTP / Webhook + HTML to Image
Try it
Convert HTML to Image with HTML to Image API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + HTML to Image
Try it
New Requests from the HTTP / Webhook API

Get a URL and emit the full HTTP event on every request (including headers and query parameters). You can also configure the HTTP response code, body, and more.

Try it
New Requests (Payload Only) from the HTTP / Webhook API

Get a URL and emit the HTTP body as an event on every request

Try it
New event when the content of the URL changes. from the HTTP / Webhook API

Emit new event when the content of the URL changes.

Try it
Convert HTML to Image with the HTML to Image API

Create an image from HTML. See the documentation

Try it
Convert HTML to PDF with the HTML to Image API

Create a PDF file from HTML. See the documentation

Try it
Convert URL to Image with the HTML to Image API

Capture a screenshot from a URL. See the documentation

Try it
Send any HTTP Request with the HTTP / Webhook API

Send an HTTP request using any method and URL. Optionally configure query string parameters, headers, and basic auth.

Try it
Convert URL to PDF with the HTML to Image API

Create a PDF from a URL. See the documentation

Try it
Integrate the HTML to Image API with the HTTP / Webhook API
Setup the HTML to Image API trigger to run a workflow which integrates with the HTTP / Webhook API. Pipedream's integration platform allows you to integrate HTML to Image and HTTP / Webhook remarkably fast. Free for developers.

Connect HTML to Image#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { axios } from "@pipedream/platform"
export default defineComponent({
 props: {
 html_to_image: {
 type: "app",
 app: "html_to_image",
 }
 },
 async run({steps, $}) {
 const data = {
 "html_content" : "<div class=\"mt-4 p-4 text-center\"style=width:500px><span class=\"mb-4 tweet-text\">This is Little Bear. He tolerates baths because he knows how phenomenal his floof will appear afterwards. 13/10</span><div class=\"mt-2 p-4\"><img class=\"mt-4 border rounded-circle shadow\"src=https://docs.htmlcsstoimage.com/assets/images/dog.jpg width=100px></div><h4 class=mt-2>WeRateDogs</h4><span class=text-muted>@dog_rates</span></div><link href=https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css rel=stylesheet crossorigin=anonymous integrity=sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk><link href=\"https://fonts.googleapis.com/css2?family=Roboto:wght@700\"rel=stylesheet>",
 "css_content" : ".tweet-text{background-color:#fff2ac;background-image:linear-gradient(to right,#ffe359 0,#fff2ac 100%);font-weight:bolder;font-size:32px;font-family:Roboto,sans-serif;padding:4px}",
 "generate_img_url": true
 }
 return await axios($, {
 method: "post",
 url: `https://api.htmlcsstoimg.com/api/v1/generateImage`,
 headers: {
 "CLIENT-API-KEY": `${this.html_to_image.$auth.api_key}`,
 },
 data,
 })
 },
})

Overview of HTTP / Webhook#

Build, test, and send HTTP requests without code using your Pipedream workflows. The HTTP / Webhook action is a tool to build HTTP requests with a Postman-like graphical interface.

An interface for configuring an HTTP request within Pipedream's workflow system. The current selection is a GET request with fields for the request URL, authorization type (set to 'None' with a note explaining "This request does not use authorization"), parameters, headers (with a count of 1, though the detail is not visible), and body. Below the main configuration area is an option to "Include Response Headers," and a button labeled "Configure to test." The overall layout suggests a user-friendly, no-code approach to setting up custom HTTP requests.

Point and click HTTP requests

Define the target URL, HTTP verb, headers, query parameters, and payload body without writing custom code.

A screenshot of Pipedream's HTTP Request Configuration interface with a GET request type selected. The request URL is set to 'https://api.openai.com/v1/models'. The 'Auth' tab is highlighted, indicating that authentication is required for this request. In the headers section, there are two headers configured: 'User-Agent' is set to 'pipedream/1', and 'Authorization' is set to 'Bearer {{openai_api_key}}', showing how the OpenAI account's API key is dynamically inserted into the headers to handle authentication automatically.

Here's an example workflow that uses the HTTP / Webhook action to send an authenticated API request to OpenAI.

Focus on integrating, not authenticating

This action can also use your connected accounts with third-party APIs. Selecting an integrated app will automatically update the request’s headers to authenticate with the app properly, and even inject your token dynamically.

This GIF depicts the process of selecting an application within Pipedream's HTTP Request Builder. A user hovers the cursor over the 'Auth' tab and clicks on a dropdown menu labeled 'Authorization Type', then scrolls through a list of applications to choose from for authorization purposes. The interface provides a streamlined and intuitive method for users to authenticate their HTTP requests by selecting the relevant app in the configuration settings.

Pipedream integrates with thousands of APIs, but if you can’t find a Pipedream integration simply use Environment Variables in your request headers to authenticate with.

Compatible with no code actions or Node.js and Python

The HTTP/Webhook action exports HTTP response data for use in subsequent workflow steps, enabling easy data transformation, further API calls, database storage, and more.

Response data is available for both coded (Node.js, Python) and no-code steps within your workflow.

An image showing the Pipedream interface where the HTTP Webhook action has returned response data as a step export. The interface highlights a structured view of the returned data with collapsible sections. We can see 'steps.custom_request1' expanded to show 'return_value' which is an object containing a 'list'. Inside the list, an item 'data' is expanded to reveal an element with an 'id' of 'whisper-1', indicating a model created by and owned by 'openai-internal'. Options to 'Copy Path' and 'Copy Value' are available for easy access to the data points.

Connect HTTP / Webhook#

1
2
3
4
5
6
7
8
9
10
11
12
13
// To use any npm package on Pipedream, just import it
import axios from "axios"
export default defineComponent({
 async run({ steps, $ }) {
 const { data } = await axios({
 method: "GET",
 url: "https://pokeapi.co/api/v2/pokemon/charizard",
 })
 return data.species
 },
})

Community Posts#

A Look at Pipedream
A Look at Pipedream
I'm going to build a workflow that will search Twitter every hour for a keyword. It will take the results, format them nicely, and then email it.
Building a Traffic-Based Workflow in Pipedream
Building a Traffic-Based Workflow in Pipedream
Normally I don't like to blog about stuff that isn't generally available to all, but as it will be available sometime soon, I decided to go ahead anyway. And I built something really cool I want to share so that's another reason to talk about this 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
Pipedream, Inc. — San Francisco, CA
About Twitter Docs Community Terms Privacy Cookie Settings Try String

AltStyle によって変換されたページ (->オリジナル) /