Skip to content

feat(typeform): add Typeform integration ref#207

Merged
emir-karabeg merged 3 commits intomainfrom
feat/typeform
Mar 31, 2025
Merged

feat(typeform): add Typeform integration ref#207
emir-karabeg merged 3 commits intomainfrom
feat/typeform

Conversation

@emir-karabeg
Copy link
Collaborator

Typeform Integration

Description

This PR adds a complete Typeform integration to the platform, enabling users to retrieve form responses, download uploaded files, and access form insights/analytics.

Fixes #106

Features Added

  • New Typeform block with three main operations:

    • Retrieve Responses: Fetch form submissions with filtering options
    • Download Files: Access files uploaded through form responses
    • Form Insights: Retrieve analytics data about form performance
  • Added necessary tools:

    • typeform_responses: For retrieving form submissions
    • typeform_files: For downloading uploaded files
    • typeform_insights: For accessing form analytics
  • Added comprehensive tests for all three tools

  • Added TypeformIcon component to the icons library

Technical Implementation

  • Created a modular file structure in sim/tools/typeform/
  • Implemented proper error handling for all API interactions
  • Added complete TypeScript typing for all response structures
  • Added file URL handling and content-type detection for file downloads
  • Implemented query parameter handling for filtering responses

Testing

All tools have been thoroughly tested with unit tests covering:

  • URL construction
  • Headers construction
  • Response transformation
  • Error handling
  • End-to-end workflows between tools

Checklist

  • Code follows the project style guidelines
  • Documentation has been updated where necessary
  • Tests have been added for all new functionality
  • All tests pass locally
  • Code has been reviewed for potential security issues

@vercel
Copy link

vercel bot commented Mar 31, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2025 1:11am
sim ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 31, 2025 1:11am

@emir-karabeg emir-karabeg merged commit e14bb91 into main Mar 31, 2025
2 of 4 checks passed
@emir-karabeg emir-karabeg deleted the feat/typeform branch March 31, 2025 01:04
RadoBoiii pushed a commit to RadoBoiii/sim-fork that referenced this pull request Apr 13, 2025
* feat(typeform): add Typeform integration ref simstudioai#106

* fix(typeform): icon

---------

Co-authored-by: rodrick-mpofu <rodrickmpofu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] Typeform Tools/Block

2 participants